Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2020-06-18 09:01:39 +02:00
commit 79f9ef8752
139 changed files with 1011 additions and 438 deletions

View File

@ -67,13 +67,13 @@ A derivation can then be written using `agdaPackages.mkDerivation`. This has sim
+ `libraryName` should be the name that appears in the `*.agda-lib` file, defaulting to `pname`. + `libraryName` should be the name that appears in the `*.agda-lib` file, defaulting to `pname`.
+ `libraryFile` should be the file name of the `*.agda-lib` file, defaulting to `${libraryName}.agda-lib`. + `libraryFile` should be the file name of the `*.agda-lib` file, defaulting to `${libraryName}.agda-lib`.
### Build phase ### Building Agda packages
The default build phase for `agdaPackages.mkDerivation` simply runs `agda` on the `Everything.agda` file. The default build phase for `agdaPackages.mkDerivation` simply runs `agda` on the `Everything.agda` file.
If something else is needed to build the package (e.g. `make`) then the `buildPhase` should be overridden. If something else is needed to build the package (e.g. `make`) then the `buildPhase` should be overridden.
Additionally, a `preBuild` or `configurePhase` can be used if there are steps that need to be done prior to checking the `Everything.agda` file. Additionally, a `preBuild` or `configurePhase` can be used if there are steps that need to be done prior to checking the `Everything.agda` file.
`agda` and the Agda libraries contained in `buildInputs` are made available during the build phase. `agda` and the Agda libraries contained in `buildInputs` are made available during the build phase.
### Install phase ### Installing Agda packages
The default install phase copies agda source files, agda interface files (`*.agdai`) and `*.agda-lib` files to the output directory. The default install phase copies agda source files, agda interface files (`*.agdai`) and `*.agda-lib` files to the output directory.
This can be overridden. This can be overridden.

View File

@ -3901,6 +3901,12 @@
githubId = 2396926; githubId = 2396926;
name = "Justin Woo"; name = "Justin Woo";
}; };
jwatt = {
email = "jwatt@broken.watch";
github = "jjwatt";
githubId = 2397327;
name = "Jesse Wattenbarger";
};
jwiegley = { jwiegley = {
email = "johnw@newartisans.com"; email = "johnw@newartisans.com";
github = "jwiegley"; github = "jwiegley";

View File

@ -18,6 +18,7 @@ dkjson,,,,,
fifo,,,,, fifo,,,,,
http,,,,,vcunat http,,,,,vcunat
inspect,,,,, inspect,,,,,
ldbus,,http://luarocks.org/dev,,,
ldoc,,,,, ldoc,,,,,
lgi,,,,, lgi,,,,,
linenoise,,,,, linenoise,,,,,

1 # nix name luarocks name server version luaversion maintainers
18 fifo
19 http vcunat
20 inspect
21 ldbus http://luarocks.org/dev
22 ldoc
23 lgi
24 linenoise

View File

@ -57,6 +57,18 @@ with lib.maintainers; {
scope = "Maintain GNOME desktop environment and platform."; scope = "Maintain GNOME desktop environment and platform.";
}; };
matrix = {
members = [
ma27
pacien
fadenb
mguentner
ekleog
ralith
];
scope = "Maintain the ecosystem around Matrix, a decentralized messenger.";
};
php = { php = {
members = [ members = [
aanderse aanderse

View File

@ -19,9 +19,9 @@
</term> </term>
<listitem> <listitem>
<para> <para>
Start a root shell if something goes wrong in stage 1 of the boot process Allows the user to start a root shell if something goes wrong in stage 1
(the initial ramdisk). This is disabled by default because there is no of the boot process (the initial ramdisk). This is disabled by default
authentication for the root shell. because there is no authentication for the root shell.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -49,6 +49,22 @@
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>
<literal>boot.debug1mounts</literal>
</term>
<listitem>
<para>
Like <literal>boot.debug1</literal> or
<literal>boot.debug1devices</literal>, but runs stage1 until all
filesystems that are mounted during initrd are mounted (see
<option><link linkend="opt-fileSystems._name__.neededForBoot">neededForBoot</link></option>
). As a motivating example, this could be useful if you've forgotten to set
<option><link linkend="opt-fileSystems._name__.neededForBoot">neededForBoot</link></option>
on a file system.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term> <term>
<literal>boot.trace</literal> <literal>boot.trace</literal>
@ -90,6 +106,15 @@
<manvolnum>1</manvolnum></citerefentry>. <manvolnum>1</manvolnum></citerefentry>.
</para> </para>
<para>
Notice that for <literal>boot.shell_on_fail</literal>,
<literal>boot.debug1</literal>, <literal>boot.debug1devices</literal>, and
<literal>boot.debug1mounts</literal>, if you did <emphasis>not</emphasis>
select "start the new shell as pid 1", and you <literal>exit</literal> from
the new shell, boot will proceed normally from the point where it failed, as
if you'd chosen "ignore the error and continue".
</para>
<para> <para>
If no login prompts or X11 login screens appear (e.g. due to hanging If no login prompts or X11 login screens appear (e.g. due to hanging
dependencies), you can press Alt+ArrowUp. If youre lucky, this will start dependencies), you can press Alt+ArrowUp. If youre lucky, this will start

View File

@ -614,6 +614,34 @@ systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/www" ];
queued on the kernel side of the netlink socket. queued on the kernel side of the netlink socket.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
Specifying <link linkend="opt-services.dovecot2.mailboxes">mailboxes</link> in the <package>dovecot2</package> module
as a list is deprecated and will break eval in 21.03. Instead, an attribute-set should be specified where the <literal>name</literal>
should be the key of the attribute.
</para>
<para>
This means that a configuration like this
<programlisting>{
<link linkend="opt-services.dovecot2.mailboxes">services.dovecot2.mailboxes</link> = [
{ name = "Junk";
auto = "create";
}
];
}</programlisting>
should now look like this:
<programlisting>{
<link linkend="opt-services.dovecot2.mailboxes">services.dovecot2.mailboxes</link> = {
Junk.auto = "create";
};
}</programlisting>
</para>
</listitem>
<listitem>
<para>
<package>netbeans</package> was upgraded to 12.0 and now defaults to OpenJDK 11. This might cause problems if your projects depend on packages that were removed in Java 11.
</para>
</listitem>
</itemizedlist> </itemizedlist>
</section> </section>
</section> </section>

View File

@ -600,6 +600,38 @@ in {
} }
]; ];
warnings =
builtins.filter (x: x != null) (
flip mapAttrsToList cfg.users (name: user:
# This regex matches a subset of the Modular Crypto Format (MCF)[1]
# informal standard. Since this depends largely on the OS or the
# specific implementation of crypt(3) we only support the (sane)
# schemes implemented by glibc and BSDs. In particular the original
# DES hash is excluded since, having no structure, it would validate
# common mistakes like typing the plaintext password.
#
# [1]: https://en.wikipedia.org/wiki/Crypt_(C)
let
sep = "\\$";
base64 = "[a-zA-Z0-9./]+";
id = "[a-z0-9-]+";
value = "[a-zA-Z0-9/+.-]+";
options = "${id}(=${value})?(,${id}=${value})*";
scheme = "${id}(${sep}${options})?";
content = "${base64}${sep}${base64}";
mcf = "^${sep}${scheme}${sep}${content}$";
in
if (user.hashedPassword != null
&& builtins.match mcf user.hashedPassword == null)
then
''
The password hash of user "${name}" may be invalid. You must set a
valid hash or the user will be locked out of his account. Please
check the value of option `users.users."${name}".hashedPassword`.
''
else null
));
}; };
} }

View File

@ -173,7 +173,9 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
security.sudo.extraRules = [ # We `mkOrder 600` so that the default rule shows up first, but there is
# still enough room for a user to `mkBefore` it.
security.sudo.extraRules = mkOrder 600 [
{ groups = [ "wheel" ]; { groups = [ "wheel" ];
commands = [ { command = "ALL"; options = (if cfg.wheelNeedsPassword then [ "SETENV" ] else [ "NOPASSWD" "SETENV" ]); } ]; commands = [ { command = "ALL"; options = (if cfg.wheelNeedsPassword then [ "SETENV" ] else [ "NOPASSWD" "SETENV" ]); } ];
} }

View File

@ -125,6 +125,8 @@ let
mailboxConfig = mailbox: '' mailboxConfig = mailbox: ''
mailbox "${mailbox.name}" { mailbox "${mailbox.name}" {
auto = ${toString mailbox.auto} auto = ${toString mailbox.auto}
'' + optionalString (mailbox.autoexpunge != null) ''
autoexpunge = ${mailbox.autoexpunge}
'' + optionalString (mailbox.specialUse != null) '' '' + optionalString (mailbox.specialUse != null) ''
special_use = \${toString mailbox.specialUse} special_use = \${toString mailbox.specialUse}
'' + "}"; '' + "}";
@ -132,8 +134,9 @@ let
mailboxes = { ... }: { mailboxes = { ... }: {
options = { options = {
name = mkOption { name = mkOption {
type = types.strMatching ''[^"]+''; type = types.nullOr (types.strMatching ''[^"]+'');
example = "Spam"; example = "Spam";
default = null;
description = "The name of the mailbox."; description = "The name of the mailbox.";
}; };
auto = mkOption { auto = mkOption {
@ -148,6 +151,15 @@ let
example = "Junk"; example = "Junk";
description = "Null if no special use flag is set. Other than that every use flag mentioned in the RFC is valid."; description = "Null if no special use flag is set. Other than that every use flag mentioned in the RFC is valid.";
}; };
autoexpunge = mkOption {
type = types.nullOr types.str;
default = null;
example = "60d";
description = ''
To automatically remove all email from the mailbox which is older than the
specified time.
'';
};
}; };
}; };
in in
@ -323,9 +335,24 @@ in
}; };
mailboxes = mkOption { mailboxes = mkOption {
type = types.listOf (types.submodule mailboxes); type = with types; let m = submodule mailboxes; in either (listOf m) (attrsOf m);
default = []; default = {};
example = [ { name = "Spam"; specialUse = "Junk"; auto = "create"; } ]; apply = x:
if isList x then warn "Declaring `services.dovecot2.mailboxes' as a list is deprecated and will break eval in 21.03!" x
else mapAttrsToList (name: value:
if value.name != null
then throw ''
When specifying dovecot2 mailboxes as attributes, declaring
a `name'-attribute is prohibited! The name ${value.name} should
be the attribute key!
''
else value // { inherit name; }
) x;
example = literalExample ''
{
Spam = { specialUse = "Junk"; auto = "create"; };
}
'';
description = "Configure mailboxes and auto create or subscribe them."; description = "Configure mailboxes and auto create or subscribe them.";
}; };

View File

@ -727,5 +727,6 @@ in {
]; ];
meta.doc = ./matrix-synapse.xml; meta.doc = ./matrix-synapse.xml;
meta.maintainers = teams.matrix.members;
} }

View File

@ -107,6 +107,7 @@ in
++ cfg.lockOn.extraTargets; ++ cfg.lockOn.extraTargets;
before = optional cfg.lockOn.suspend "systemd-suspend.service" before = optional cfg.lockOn.suspend "systemd-suspend.service"
++ optional cfg.lockOn.hibernate "systemd-hibernate.service" ++ optional cfg.lockOn.hibernate "systemd-hibernate.service"
++ optional (cfg.lockOn.hibernate || cfg.lockOn.suspend) "systemd-suspend-then-hibernate.service"
++ cfg.lockOn.extraTargets; ++ cfg.lockOn.extraTargets;
serviceConfig = { serviceConfig = {
Type = "forking"; Type = "forking";

View File

@ -448,7 +448,7 @@ in
description = description =
'' ''
An alternate BIOS (such as <package>qboot</package>) with which to start the VM. An alternate BIOS (such as <package>qboot</package>) with which to start the VM.
Should containin a file named <literal>bios.bin</literal>. Should contain a file named <literal>bios.bin</literal>.
If <literal>null</literal>, QEMU's builtin SeaBIOS will be used. If <literal>null</literal>, QEMU's builtin SeaBIOS will be used.
''; '';
}; };

View File

@ -29,8 +29,8 @@ import ./make-test-python.nix ({ pkgs, ... } : let
in { in {
name = "matrix-synapse"; name = "matrix-synapse";
meta = with pkgs.stdenv.lib.maintainers; { meta = with pkgs.stdenv.lib; {
maintainers = [ corngood ]; maintainers = teams.matrix.members;
}; };
nodes = { nodes = {

View File

@ -12,11 +12,11 @@
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.9.5"; version = "2.9.6";
pname = "asunder"; pname = "asunder";
src = fetchurl { src = fetchurl {
url = "http://littlesvr.ca/asunder/releases/${pname}-${version}.tar.bz2"; url = "http://littlesvr.ca/asunder/releases/${pname}-${version}.tar.bz2";
sha256 = "069x6az2r3wlb2hd07iz0hxpxwknw7s9h7pyhnkmzv1pw9ci3kk4"; sha256 = "1ycnd82lh7qy1pcbngd4b41s16j9hnm2kyfrncg4cwr3bfk7yg7a";
}; };
nativeBuildInputs = [ intltool makeWrapper pkgconfig ]; nativeBuildInputs = [ intltool makeWrapper pkgconfig ];

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pt2-clone"; pname = "pt2-clone";
version = "1.17"; version = "1.19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "8bitbubsy"; owner = "8bitbubsy";
repo = "pt2-clone"; repo = "pt2-clone";
rev = "v${version}"; rev = "v${version}";
sha256 = "0paagzc1c7gdnvs2wwsw2h15d0x8a7fl995qq3pi06g8kmdm85pi"; sha256 = "0lr8gq4immc5cx1wr5ng6ccxs9afbd2dk6i0n5np25z14dvbvk3k";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -35,13 +35,13 @@
mkDerivation rec { mkDerivation rec {
pname = "strawberry"; pname = "strawberry";
version = "0.6.10"; version = "0.6.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jonaski"; owner = "jonaski";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0qf510hlxbndqzwq62mdzfclqxr3caf1a34kd770k84x8vrb4pld"; sha256 = "0p09xp7andfg0gvarzc979pwglr0xjj1c0cziqj0c9z7p1v0fkws";
}; };
buildInputs = [ buildInputs = [

View File

@ -1,59 +1,74 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost, zeromq, rapidcheck, hexdump { stdenv
, zlib, miniupnpc, qtbase ? null, qttools ? null, wrapQtAppsHook ? null, utillinux, python3, qrencode, libevent , fetchurl
, withGui }: , pkgconfig
, autoreconfHook
, db48
, boost
, zeromq
, hexdump
, zlib
, miniupnpc
, qtbase ? null
, qttools ? null
, wrapQtAppsHook ? null
, utillinux
, python3
, qrencode
, libevent
, withGui
}:
with stdenv.lib; with stdenv.lib;
let let
version = "0.19.1"; version = "0.20.0";
majorMinorVersion = versions.majorMinor version; majorMinorVersion = versions.majorMinor version;
desktop = fetchurl { desktop = fetchurl {
url = "https://raw.githubusercontent.com/bitcoin-core/packaging/${majorMinorVersion}/debian/bitcoin-qt.desktop"; url = "https://raw.githubusercontent.com/bitcoin-core/packaging/${majorMinorVersion}/debian/bitcoin-qt.desktop";
sha256 = "0cpna0nxcd1dw3nnzli36nf9zj28d2g9jf5y0zl9j18lvanvniha"; sha256 = "0cpna0nxcd1dw3nnzli36nf9zj28d2g9jf5y0zl9j18lvanvniha";
}; };
pixmap = fetchurl { pixmap = fetchurl {
url = "https://raw.githubusercontent.com/bitcoin/bitcoin/v${version}/share/pixmaps/bitcoin128.png"; url = "https://raw.githubusercontent.com/bitcoin/bitcoin/v${version}/share/pixmaps/bitcoin128.png";
sha256 = "08p7j7dg50jlj783kkgdw037klmx0spqjikaprmbkzgcb620r25d"; sha256 = "08p7j7dg50jlj783kkgdw037klmx0spqjikaprmbkzgcb620r25d";
}; };
in
in stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = if withGui then "bitcoin" else "bitcoind"; pname = if withGui then "bitcoin" else "bitcoind";
inherit version; inherit version;
src = fetchurl { src = fetchurl {
urls = [ "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" urls = [
"https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
]; "https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
sha256 = "f2591d555b8e8c2e1bd780e40d53a91e165d8b3c7e0391ae2d24a0c0f23a7cc0"; ];
sha256 = "ec5a2358ee868d845115dc4fc3ed631ff063c57d5e0a713562d083c5c45efb28";
}; };
nativeBuildInputs = nativeBuildInputs =
[ pkgconfig autoreconfHook ] [ pkgconfig autoreconfHook ]
++ optional stdenv.isDarwin hexdump ++ optional stdenv.isDarwin hexdump
++ optional withGui wrapQtAppsHook; ++ optional withGui wrapQtAppsHook;
buildInputs = [ openssl db48 boost zlib zeromq buildInputs = [ db48 boost zlib zeromq miniupnpc libevent ]
miniupnpc libevent] ++ optionals stdenv.isLinux [ utillinux ]
++ optionals stdenv.isLinux [ utillinux ] ++ optionals withGui [ qtbase qttools qrencode ];
++ optionals withGui [ qtbase qttools qrencode ];
postInstall = optional withGui '' postInstall = optional withGui ''
install -Dm644 ${desktop} $out/share/applications/bitcoin-qt.desktop install -Dm644 ${desktop} $out/share/applications/bitcoin-qt.desktop
install -Dm644 ${pixmap} $out/share/pixmaps/bitcoin128.png install -Dm644 ${pixmap} $out/share/pixmaps/bitcoin128.png
''; '';
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" configureFlags = [
"--disable-bench" "--with-boost-libdir=${boost.out}/lib"
] ++ optionals (!doCheck) [ "--disable-bench"
"--disable-tests" ] ++ optionals (!doCheck) [
"--disable-gui-tests" "--disable-tests"
] "--disable-gui-tests"
++ optionals withGui [ "--with-gui=qt5" ]
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" ++ optionals withGui [
]; "--with-gui=qt5"
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
];
checkInputs = [ rapidcheck python3 ]; checkInputs = [ python3 ];
doCheck = true; doCheck = true;
@ -67,13 +82,15 @@ in stdenv.mkDerivation rec {
meta = { meta = {
description = "Peer-to-peer electronic cash system"; description = "Peer-to-peer electronic cash system";
longDescription= '' longDescription = ''
Bitcoin is a free open source peer-to-peer electronic cash system that is 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 completely decentralized, without the need for a central server or trusted
parties. Users hold the crypto keys to their own money and transact directly 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. with each other, with the help of a P2P network to check for double-spending.
''; '';
homepage = "https://bitcoin.org/"; homepage = "https://bitcoin.org/";
downloadPage = "https://bitcoincore.org/bin/bitcoin-core-${version}/";
changelog = "https://bitcoincore.org/en/releases/${version}/";
maintainers = with maintainers; [ roconnor AndersonTorres ]; maintainers = with maintainers; [ roconnor AndersonTorres ];
license = licenses.mit; license = licenses.mit;
platforms = platforms.unix; platforms = platforms.unix;

View File

@ -3,14 +3,14 @@
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "nc0.19.1"; version = "nc0.20.0";
name = "namecoin" + toString (optional (!withGui) "d") + "-" + version; name = "namecoin" + toString (optional (!withGui) "d") + "-" + version;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "namecoin"; owner = "namecoin";
repo = "namecoin-core"; repo = "namecoin-core";
rev = version; rev = version;
sha256 = "13rdvngrl2w0gk7km3sd9fy8yxzgxlkcwn50ajsbrhgzl8kx4q7m"; sha256 = "115nlsq5g169mj4qjmkhxx1bnx740871zqyng9zbm2y4i0xf71c4";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -3,14 +3,14 @@
let let
versions = { versions = {
atom = { atom = {
version = "1.42.0"; version = "1.48.0";
sha256 = "1ira528nwxi30jfwyivlac3wkkqb9d2z4jhxwq5m7mnpm5yli6jy"; sha256 = "1693bxbylf6jhld9bdcr5pigk36wqlbj89praldpz9s96yxig9s1";
}; };
atom-beta = { atom-beta = {
version = "1.43.0"; version = "1.49.0";
beta = 0; beta = 0;
sha256 = "06if3w5hx7njmyal0012zawn8f5af1z4bjcbzj2c0gd15nlsgm95"; sha256 = "1fr6m4a7shdj3wpn6g4n95cqpkkg2x9srwjf7bqxv9f3d5jb1y33";
}; };
}; };

View File

@ -1,6 +1,7 @@
{ stdenv, lib, zlib, glib, alsaLib, dbus, gtk3, atk, pango, freetype, fontconfig { 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, libuuid, at-spi2-atk , gconf, nss, xorg, libcap, systemd, libnotify, libsecret, libuuid, at-spi2-atk
, at-spi2-core
}: }:
let let
@ -10,7 +11,7 @@ let
xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr
xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify
xorg.libxcb libsecret libuuid at-spi2-atk xorg.libxcb libsecret libuuid at-spi2-atk at-spi2-core
]; ];
libPathNative = lib.makeLibraryPath packages; libPathNative = lib.makeLibraryPath packages;

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "kdev-python"; pname = "kdev-python";
version = "5.5.1"; version = "5.5.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz"; url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
sha256 = "0k4j2kp77sz2p8s77wmcawia81bx7vfb2nnh9lqxzdk2mmlg387c"; sha256 = "1qxvsz19iv5fr0nvz75b13knmsbkhkgvlvrhip8y4j66ypscs652";
}; };
cmakeFlags = [ cmakeFlags = [

View File

@ -10,11 +10,11 @@
mkDerivation rec { mkDerivation rec {
pname = "kdevelop"; pname = "kdevelop";
version = "5.5.1"; version = "5.5.2";
src = fetchurl { src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz"; url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
sha256 = "18hxwkdbfw0qs3p19jv6d8wwwdzb9m087891i8w2bzkn21fd5pmy"; sha256 = "1nkl3z1n1l7ly2zvmbx2sdhx5q72wcvpwhzsz3qgw1474qd9i3i2";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -3,7 +3,7 @@
}: }:
let let
version = "11.3"; version = "12.0";
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
name = "netbeans"; name = "netbeans";
exec = "netbeans"; exec = "netbeans";
@ -19,7 +19,7 @@ stdenv.mkDerivation {
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = "mirror://apache/netbeans/netbeans/${version}/netbeans-${version}-bin.zip"; url = "mirror://apache/netbeans/netbeans/${version}/netbeans-${version}-bin.zip";
sha512 = "ae828836138b5a4156d58df24dd4053be58018cb6b5beb179cb0f4cd8b5db72d2a7356a434d01157aacb78d228732950cf4e3a0b6c725da8e053b6ccd91075d6"; sha512 = "91030c9628a08acd85f1a58a7f71eec2e57dc85841c1c475cc6311335b5d8cdc10c1198274b9668b7f61a28d04b07661247dc1c3e36b8e29214aec3748e499e4";
}; };
buildCommand = '' buildCommand = ''

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vis"; pname = "vis";
version = "0.5"; version = "0.6";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
sha256 = "1vhq6hprkgj90iwl5vl3pxs3xwc01mx8yhi6c1phzry5agqqp8jb"; sha256 = "1zjm89cn3rfq8fxpwp66khy53s6vqlmw6q103qyyvix8ydzxdmsh";
repo = "vis"; repo = "vis";
owner = "martanne"; owner = "martanne";
}; };

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "avocode"; pname = "avocode";
version = "4.6.4"; version = "4.7.0";
src = fetchurl { src = fetchurl {
url = "https://media.avocode.com/download/avocode-app/${version}/avocode-${version}-linux.zip"; url = "https://media.avocode.com/download/avocode-app/${version}/avocode-${version}-linux.zip";
sha256 = "1hkqv2lix58my009i61cy0vpazxqpzapfhxkw5439ndn6qk1782d"; sha256 = "0kn0422k4vi2qifasnkd0cjf5l6z0rmkqv6l46ygxk3qyykjnqcm";
}; };
libPath = stdenv.lib.makeLibraryPath (with xorg; [ libPath = stdenv.lib.makeLibraryPath (with xorg; [

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "goxel"; pname = "goxel";
version = "0.10.5"; version = "0.10.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "guillaumechereau"; owner = "guillaumechereau";
repo = "goxel"; repo = "goxel";
rev = "v${version}"; rev = "v${version}";
sha256 = "1b63jqryq19qa81g1ml6d85f27wj1ci3h56r02cl9xn8di5p674f"; sha256 = "1wmxy5wfk1xrqgz0y0zcr4vkddylqc70cv4vzk117x6whjnldsm3";
}; };
patches = [ ./disable-imgui_ini.patch ]; patches = [ ./disable-imgui_ini.patch ];

View File

@ -11,7 +11,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "aminal"; pname = "aminal";
version = "0.8.6"; version = "0.9.0";
goPackagePath = "github.com/liamg/aminal"; goPackagePath = "github.com/liamg/aminal";
@ -30,7 +30,7 @@ buildGoPackage rec {
owner = "liamg"; owner = "liamg";
repo = "aminal"; repo = "aminal";
rev = "v${version}"; rev = "v${version}";
sha256 = "0qhjdckj2kr0vza6qssd9z8dfrsif1qxb1mal1d4wgdsy12lrmwl"; sha256 = "0syv9md7blnl6i19zf8s1xjx5vfz6s755fxyg2ply0qc1pwhsj8n";
}; };
preBuild = '' preBuild = ''

View File

@ -2,13 +2,13 @@
mkDerivation rec { mkDerivation rec {
pname = "heimer"; pname = "heimer";
version = "1.15.1"; version = "1.17.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "juzzlin"; owner = "juzzlin";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "13a9yfq7m8jhirb31i0mmigqb135r585zwqddknl090d88164fic"; sha256 = "1sxdi1an9x62q9vwv7r2761my4dva6nc63n9861swxjjk18hmmar";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
@ -19,5 +19,6 @@ mkDerivation rec {
homepage = "https://github.com/juzzlin/Heimer"; homepage = "https://github.com/juzzlin/Heimer";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ]; maintainers = with maintainers; [ dtzWill ];
platforms = platforms.linux;
}; };
} }

View File

@ -35,13 +35,13 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "orca"; pname = "orca";
version = "3.36.2"; version = "3.36.3";
format = "other"; format = "other";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0hxz8wlyjn6w3zqg1p56pwdj0p23d6vynzczklyc6n91dyvma06g"; sha256 = "1x0xrcyxlvcjlqp6wcsx5d951i500079wqs04scssjzwqggy330n";
}; };
patches = [ patches = [

View File

@ -1,6 +1,7 @@
{ cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig { cairo, cmake, fetchFromGitHub, libXdmcp, libpthreadstubs, libxcb, pcre, pkgconfig
, python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage , python3, stdenv, xcbproto, xcbutil, xcbutilcursor, xcbutilimage
, xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper , xcbutilrenderutil, xcbutilwm, xcbutilxrm, makeWrapper
, removeReferencesTo
# optional packages-- override the variables ending in 'Support' to enable or # optional packages-- override the variables ending in 'Support' to enable or
# disable modules # disable modules
@ -74,6 +75,10 @@ stdenv.mkDerivation rec {
'' else ""; '' else "";
nativeBuildInputs = [ nativeBuildInputs = [
cmake pkgconfig cmake pkgconfig removeReferencesTo
]; ];
postFixup = ''
remove-references-to -t ${stdenv.cc} $out/bin/polybar
'';
} }

View File

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "tut"; pname = "tut";
version = "0.0.8"; version = "0.0.9";
goPackagePath = "github.com/RasmusLindroth/tut"; goPackagePath = "github.com/RasmusLindroth/tut";
goDeps = ./deps.nix; goDeps = ./deps.nix;
@ -11,7 +11,7 @@ buildGoPackage rec {
owner = "RasmusLindroth"; owner = "RasmusLindroth";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0wb5lf0zbhmg962p71bqlpyxn8f1n9fp1jh7y7fcg6w5mga8gqq3"; sha256 = "19y6brw1d6dlp2gnkdpbp261662h5j46rmiqg73cxhrlws0y0kfk";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xmrig"; pname = "xmrig";
version = "5.11.2"; version = "5.11.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xmrig"; owner = "xmrig";
repo = "xmrig"; repo = "xmrig";
rev = "v${version}"; rev = "v${version}";
sha256 = "1mhqa9jb4475phhqnkc7k1mwgkan7zp7y4z2c7n2x43r48ghxpfx"; sha256 = "019g64rp6g0b0w17bm9l4q5lh7szc6ai8r3bfmy98ngi929r4rl7";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xmrig-proxy"; pname = "xmrig-proxy";
version = "5.10.2"; version = "5.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xmrig"; owner = "xmrig";
repo = "xmrig-proxy"; repo = "xmrig-proxy";
rev = "v${version}"; rev = "v${version}";
sha256 = "1mkamkqhqj7nbvaxdim1rbc3f5sw410wzly4ln73ackzlvdwn319"; sha256 = "0wwvsmanvcn0kbb5zqrj8786yg9rmdbink6rsnsm7ifak1iwvls9";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -7,6 +7,9 @@
, 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, libdrm, mesa , kerberos, libdrm, mesa
# Command line programs
, coreutils
# command line arguments which are always set e.g "--disable-gpu" # command line arguments which are always set e.g "--disable-gpu"
, commandLineArgs ? "" , commandLineArgs ? ""
@ -58,7 +61,7 @@ let
liberation_ttf curl utillinux xdg_utils wget liberation_ttf curl utillinux xdg_utils wget
flac harfbuzz icu libpng opusWithCustomModes snappy speechd flac harfbuzz icu libpng opusWithCustomModes snappy speechd
bzip2 libcap at-spi2-atk at-spi2-core bzip2 libcap at-spi2-atk at-spi2-core
kerberos libdrm mesa kerberos libdrm mesa coreutils
] ++ optional pulseSupport libpulseaudio ] ++ optional pulseSupport libpulseaudio
++ [ gtk ]; ++ [ gtk ];

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "jx"; pname = "jx";
version = "2.1.31"; version = "2.1.65";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jenkins-x"; owner = "jenkins-x";
repo = "jx"; repo = "jx";
rev = "v${version}"; rev = "v${version}";
sha256 = "1rbdmqi6m042jxd3hhqw821l567s9zzzgp0cvx8467yfi449qipn"; sha256 = "0zkp0z5qpqw44bjnl20xna7s251k7jsxccqnqkdqqrzmqjpkkwgx";
}; };
vendorSha256 = "1jn636sv6ak6hngw4fpgxqm6gfay2ip6g3gafjb3m4adcc5n9f8s"; vendorSha256 = "0zi2n8fywzy87yfwcx7di74s8mx0468zmg6kwjln7mwhr6q23adf";
subPackages = [ "cmd/jx" ]; subPackages = [ "cmd/jx" ];

View File

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "kube-router"; pname = "kube-router";
version = "0.3.1"; version = "0.4.0";
goPackagePath = "github.com/cloudnativelabs/kube-router"; goPackagePath = "github.com/cloudnativelabs/kube-router";
@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "cloudnativelabs"; owner = "cloudnativelabs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "06azrghcxp6n4bvrqxpwhmg60qk4jqcrkl1lh1rardlzhl71lk1h"; sha256 = "1g1y3l87a4il9g2yrl1ryx8xfd4x220azxhr3rxm5l9vhnnjwswa";
}; };
buildFlagsArray = '' buildFlagsArray = ''

View File

@ -1,6 +1,6 @@
{ lib, buildGoPackage, fetchFromGitHub, ... }: { lib, buildGoPackage, fetchFromGitHub, ... }:
let version = "0.13.1"; in let version = "0.16.0"; in
buildGoPackage { buildGoPackage {
pname = "kubecfg"; pname = "kubecfg";
@ -10,7 +10,7 @@ buildGoPackage {
owner = "bitnami"; owner = "bitnami";
repo = "kubecfg"; repo = "kubecfg";
rev = "v${version}"; rev = "v${version}";
sha256 = "0x2mg13p8r1sgqr1bbzh57kfymb8z392y43djgks2agc7rjnd45f"; sha256 = "1ipw7r9fyqbh1bjvk7ifmj3skh799ly90y4ph37r8mqk1wb92rz4";
}; };
goPackagePath = "github.com/bitnami/kubecfg"; goPackagePath = "github.com/bitnami/kubecfg";

View File

@ -2,13 +2,13 @@
buildGoPackage rec { buildGoPackage rec {
pname = "kubeless"; pname = "kubeless";
version = "1.0.4"; version = "1.0.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubeless"; owner = "kubeless";
repo = "kubeless"; repo = "kubeless";
rev = "v${version}"; rev = "v${version}";
sha256 = "1f5w6kn9rsaxx9nf6kzyjkzm3s9ycy1c8h78hb61v4x915xd3040"; sha256 = "1fcdyd1jf0yibfx9jc16m0vmazm2jymps92llh3vh5zqd36bxbyd";
}; };
goPackagePath = "github.com/kubeless/kubeless"; goPackagePath = "github.com/kubeless/kubeless";

View File

@ -19,7 +19,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "terraform-provider-libvirt"; pname = "terraform-provider-libvirt";
version = "0.6.1"; version = "0.6.2";
goPackagePath = "github.com/dmacvicar/terraform-provider-libvirt"; goPackagePath = "github.com/dmacvicar/terraform-provider-libvirt";
@ -27,7 +27,7 @@ buildGoPackage rec {
owner = "dmacvicar"; owner = "dmacvicar";
repo = "terraform-provider-libvirt"; repo = "terraform-provider-libvirt";
rev = "v${version}"; rev = "v${version}";
sha256 = "1l2n97nj6g44n7bhnbjwmv36xi6754p4iq2qnpkdh39x4384a0zz"; sha256 = "1wkpns047ccff0clfb1108wjax1qb5v06hky0i3h2wpzysll7r7b";
}; };
nativeBuildInputs = [ pkgconfig makeWrapper ]; nativeBuildInputs = [ pkgconfig makeWrapper ];

View File

@ -78,7 +78,7 @@ in mkYarnPackage rec {
description = "A feature-rich client for Matrix.org"; description = "A feature-rich client for Matrix.org";
homepage = "https://about.riot.im/"; homepage = "https://about.riot.im/";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ pacien worldofpeace ma27 ]; maintainers = teams.matrix.members;
inherit (electron.meta) platforms; inherit (electron.meta) platforms;
}; };
} }

View File

@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
meta = { meta = {
description = "A glossy Matrix collaboration client for the web"; description = "A glossy Matrix collaboration client for the web";
homepage = "http://riot.im/"; homepage = "http://riot.im/";
maintainers = with stdenv.lib.maintainers; [ bachp pacien ma27 ]; maintainers = stdenv.lib.teams.matrix.members;
license = stdenv.lib.licenses.asl20; license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
hydraPlatforms = []; hydraPlatforms = [];

View File

@ -0,0 +1,50 @@
{ stdenv
, lib
, fetchgit
, rustPlatform
, pkgconfig
, openssl
, dbus
, sqlite
, file
, gzip
, notmuch
# Build with support for notmuch backend
, withNotmuch ? true
}:
rustPlatform.buildRustPackage rec {
pname = "meli";
version = "alpha-0.5.1";
src = fetchgit {
url = "https://git.meli.delivery/meli/meli.git";
rev = version;
sha256 = "1y5567hdm1s2s272drxvmp6x4y1jpyl7423iz58hgqcsjm9085zv";
};
cargoSha256 = "040dfr09bg5z5pn68dy323hcppd599d3f6k7zxqw5f8n4whnlc9y";
cargoBuildFlags = lib.optional withNotmuch "--features=notmuch";
nativeBuildInputs = [ pkgconfig gzip ];
buildInputs = [ openssl dbus sqlite ] ++ lib.optional withNotmuch notmuch;
checkInputs = [ file ];
postInstall = ''
mkdir -p $out/share/man/man1
gzip < meli.1 > $out/share/man/man1/meli.1.gz
mkdir -p $out/share/man/man5
gzip < meli.conf.5 > $out/share/man/man5/meli.conf.5.gz
'';
meta = with stdenv.lib; {
description = "Experimental terminal mail client aiming for configurability and extensibility with sane defaults";
homepage = "https://meli.delivery";
license = licenses.gpl3;
maintainers = with maintainers; [ maintainers."0x4A6F" matthiasbeyer erictapen ];
platforms = platforms.linux;
};
}

View File

@ -31,6 +31,9 @@ in stdenv.mkDerivation {
"-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_LIBDIR=lib"
]; ];
# Avoid referencing -dev paths because of debug assertions.
NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ];
nativeBuildInputs = [ nativeBuildInputs = [
bison cmake flex pkgconfig bison cmake flex pkgconfig
] ++ optional withQt qt5.wrapQtAppsHook; ] ++ optional withQt qt5.wrapQtAppsHook;

View File

@ -13,11 +13,11 @@ let
in in
mkDerivation rec { mkDerivation rec {
pname = "eagle"; pname = "eagle";
version = "9.6.1"; version = "9.6.2";
src = fetchurl { src = fetchurl {
url = "https://eagle-updates.circuits.io/downloads/${builtins.replaceStrings ["."] ["_"] version}/Autodesk_EAGLE_${version}_English_Linux_64bit.tar.gz"; url = "https://eagle-updates.circuits.io/downloads/${builtins.replaceStrings ["."] ["_"] version}/Autodesk_EAGLE_${version}_English_Linux_64bit.tar.gz";
sha256 = "1iq4aahrh4g3549vbr7gka5y2h7f17n3yafzl21njc2mkqb12jdw"; sha256 = "18syygnskl286kn8aqfzzdsyzq59d2w19y1h1ynyxsnrvkyv71h0";
}; };
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {

View File

@ -13,11 +13,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gitkraken"; pname = "gitkraken";
version = "7.0.0"; version = "7.0.1";
src = fetchzip { src = fetchzip {
url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz"; url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz";
sha256 = "0ws1gb7fgy72s6hxkf9g16x565m58k1cdzx9ldcdghfffimz4cqx"; sha256 = "0vj2ggbm617fypl69ksbrbl048xp4v6wc46y4sp7hrk6lg0gw1b0";
}; };
dontBuild = true; dontBuild = true;

View File

@ -25,11 +25,11 @@ assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null && wra
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vlc"; pname = "vlc";
version = "3.0.10"; version = "3.0.11";
src = fetchurl { src = fetchurl {
url = "http://get.videolan.org/vlc/${version}/${pname}-${version}.tar.xz"; url = "http://get.videolan.org/vlc/${version}/${pname}-${version}.tar.xz";
sha256 = "0cackl1084hcmg4myf3kvjvd6sjxmzn0c0qkmanz6brvgzyanrm9"; sha256 = "06a9hfl60f6l0fs5c9ma5s8np8kscm4ala6m2pdfji9lyfna351y";
}; };
# VLC uses a *ton* of libraries for various pieces of functionality, many of # VLC uses a *ton* of libraries for various pieces of functionality, many of

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "conmon"; pname = "conmon";
version = "2.0.17"; version = "2.0.18";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "01bicv0qr4aiahkw9cp6igk3jv1fqkbxmsp80nfvq6rxx873v0q7"; sha256 = "0f32g048jamfhrds68vzirx8iqizr45wf2d4bfvdsk176amrj4k0";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View File

@ -8,11 +8,11 @@ assert withDoc -> asciidoc != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "herbstluftwm"; pname = "herbstluftwm";
version = "0.8.1"; version = "0.8.3";
src = fetchurl { src = fetchurl {
url = "https://herbstluftwm.org/tarballs/herbstluftwm-${version}.tar.gz"; url = "https://herbstluftwm.org/tarballs/herbstluftwm-${version}.tar.gz";
sha256 = "0c1lf82z6a56g8asin91cmqhzk3anw0xwc44b31bpjixadmns57y"; sha256 = "1qmb4pjf2f6g0dvcg11cw9njwmxblhqzd70ai8qnlgqw1iz3nkm1";
}; };
outputs = [ outputs = [

View File

@ -0,0 +1,75 @@
{ stdenv, fetchzip,
pkgconfig, bmake,
cairo, glib, libevdev, libinput, libxkbcommon, linux-pam, pango, pixman,
libucl, wayland, wayland-protocols, wlroots,
features ? {
gammacontrol = true;
layershell = true;
screencopy = true;
xwayland = true;
}
}:
let
pname = "hikari";
version = "2.0.2";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchzip {
url = "https://hikari.acmelabs.space/releases/${pname}-${version}.tar.gz";
sha256 = "1a3i01936pw11hrmjmrhzzwpndl1jqjgx376m5m724wd1j9awm68";
};
nativeBuildInputs = [ pkgconfig bmake ];
buildInputs = [
cairo
glib
libevdev
libinput
libxkbcommon
linux-pam
pango
pixman
libucl
wayland
wayland-protocols
wlroots
];
enableParallelBuilding = true;
# Must replace GNU Make by bmake
buildPhase = with stdenv.lib; concatStringsSep " " (
[ "bmake" "-j$NIX_BUILD_CORES" "PREFIX=$out" ]
++ optional stdenv.isLinux "WITH_POSIX_C_SOURCE=YES"
++ mapAttrsToList (feat: enabled:
optionalString enabled "WITH_${toUpper feat}=YES"
) features
);
# Can't suid in nix store
# Run hikari as root (it will drop privileges as early as possible), or create
# a systemd unit to give it the necessary permissions/capabilities.
patchPhase = ''
substituteInPlace Makefile --replace '4555' '555'
'';
installPhase = ''
bmake \
PREFIX=$out \
install
runHook postInstall
'';
meta = with stdenv.lib; {
description = "Stacking Wayland compositor which is actively developed on FreeBSD but also supports Linux";
homepage = "https://hikari.acmelabs.space";
license = licenses.bsd2;
platforms = platforms.linux ++ platforms.freebsd;
maintainers = with maintainers; [ jpotier ];
};
}

View File

@ -1,31 +1,45 @@
{ stdenv, fetchFromGitHub, libpulseaudio, python3Packages, extraLibs ? [] }: { stdenv
, fetchFromGitHub
, libpulseaudio
, libnotify
, gobject-introspection
, python3Packages
, wrapGAppsHook
, extraLibs ? [] }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
# i3pystatus moved to rolling release: # i3pystatus moved to rolling release:
# https://github.com/enkore/i3pystatus/issues/584 # https://github.com/enkore/i3pystatus/issues/584
version = "unstable-2019-06-10"; version = "unstable-2020-06-12";
pname = "i3pystatus"; pname = "i3pystatus";
src = fetchFromGitHub src = fetchFromGitHub {
{
owner = "enkore"; owner = "enkore";
repo = "i3pystatus"; repo = "i3pystatus";
rev = "56ce08d0ff8d5d64950d6b588ebede35a95e0ce2"; rev = "dad5eb0c5c8a2ecd20c37ade4732586c6e53f44b";
sha256 = "12938860jbcly1xwhd71jvy2dff28pwv9kqh6mab1859148bzmcg"; sha256 = "18ygvkl92yr69kxsym57k1mc90asdxpz4b943i61qr0s4fc5n4mq";
}; };
propagatedBuildInputs = with python3Packages; [ keyring colour netifaces psutil basiciw ] ++ buildInputs = [ libpulseaudio libnotify gobject-introspection ];
[ libpulseaudio ] ++ extraLibs;
libpulseaudioPath = stdenv.lib.makeLibraryPath [ libpulseaudio ]; propagatedBuildInputs = with python3Packages; [
ldWrapperSuffix = "--suffix LD_LIBRARY_PATH : \"${libpulseaudioPath}\""; keyring colour netifaces psutil basiciw pygobject3
# LC_TIME != C results in locale.Error: unsupported locale setting ] ++ extraLibs;
makeWrapperArgs = [ "--set LC_TIME C" ldWrapperSuffix ]; # libpulseaudio.so is loaded manually
makeWrapperArgs = [
# LC_TIME != C results in locale.Error: unsupported locale setting
"--set" "LC_TIME" "C"
"--suffix" "LD_LIBRARY_PATH" ":" "${stdenv.lib.makeLibraryPath [ libpulseaudio ]}"
];
postPatch = ''
makeWrapperArgs+=(--set GI_TYPELIB_PATH "$GI_TYPELIB_PATH")
'';
postInstall = '' postInstall = ''
makeWrapper ${python3Packages.python.interpreter} $out/bin/${pname}-python-interpreter \ makeWrapper ${python3Packages.python.interpreter} $out/bin/${pname}-python-interpreter \
--prefix PYTHONPATH : "$PYTHONPATH" \ --prefix PYTHONPATH : "$PYTHONPATH" \
${ldWrapperSuffix} ''${makeWrapperArgs[@]}
''; '';
# no tests in tarball # no tests in tarball

View File

@ -9,13 +9,13 @@
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "icewm"; pname = "icewm";
version = "1.6.5"; version = "1.6.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bbidulock"; owner = "bbidulock";
repo = "icewm"; repo = "icewm";
rev = version; rev = version;
sha256 = "1glzpkpl0vl5sjn1d9jlvwd9ch16dvxvsf2n310kb0ycpfkl84vs"; sha256 = "05jg2gs5cdxn2kfm2y6yrqxpza5s1zsgb52168psmzhb4nakpv42";
}; };
nativeBuildInputs = [ cmake pkgconfig perl asciidoc ]; nativeBuildInputs = [ cmake pkgconfig perl asciidoc ];

View File

@ -1,14 +1,14 @@
{ lib, fetchzip }: { lib, fetchzip }:
let let
version = "0.112"; version = "0.113";
in fetchzip rec { in fetchzip rec {
name = "Amiri-${version}"; name = "Amiri-${version}";
url = "https://github.com/alif-type/amiri/releases/download/${version}/${name}.zip"; url = "https://github.com/alif-type/amiri/releases/download/${version}/${name}.zip";
sha256 = "13j8kglgca296czxjz1xvrbz6yx05s2xassiliyszndbkrhn6bkl"; sha256 = "0v5xm4spyww8wy6j9kpb01ixrakw7wp6jng4xnh220iy6yqcxm7v";
postFetch = '' postFetch = ''
unzip $downloadedFile unzip $downloadedFile

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "osinfo-db"; pname = "osinfo-db";
version = "20200515"; version = "20200529";
src = fetchurl { src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz"; url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
sha256 = "1m9idmmb1sjf24lp9lgng2m1jj09mn9fa9pnz36fdv5q0lskgscj"; sha256 = "0mbrf9j5wmjhc6jixvhp4jqyxixh1717lqrmzmipdg99xnzba81n";
}; };
nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ]; nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ];

View File

@ -27,7 +27,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "elementary-code"; pname = "elementary-code";
version = "3.4.0"; version = "3.4.1";
repoName = "code"; repoName = "code";
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
owner = "elementary"; owner = "elementary";
repo = repoName; repo = repoName;
rev = version; rev = version;
sha256 = "0b1vdgb1xvh5lqbral3r0qaq05zd5q5ywxw02fggpyy8nyxs3z8f"; sha256 = "158zrzyyy507rxcbsb5am9768zbakpwrl61ixab57zla7z51l0g0";
}; };
passthru = { passthru = {

View File

@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "dasm";
version = "2.20.13";
src = fetchFromGitHub {
owner = "dasm-assembler";
repo = "dasm";
rev = version;
sha256 = "1nr4kvw42vyc6i4p1c06jlih11rhbjjxc27dc7cx5qj635xf4jcf";
};
configurePhase = false;
installPhase = ''
mkdir -p $out/bin
install bin/* $out/bin
'';
preCheck = ''
patchShebangs ./test/
'';
checkTarget = "test";
doCheck = true;
meta = with stdenv.lib; {
description = "Assembler for 6502 and other 8-bit microprocessors";
homepage = "https://dasm-assembler.github.io";
license = licenses.gpl2;
maintainers = [ maintainers.jwatt ];
platforms = platforms.all;
};
}

View File

@ -24,13 +24,13 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "intel-graphics-compiler"; pname = "intel-graphics-compiler";
version = "1.0.3627"; version = "1.0.4062";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "intel"; owner = "intel";
repo = "intel-graphics-compiler"; repo = "intel-graphics-compiler";
rev = "igc-${version}"; rev = "igc-${version}";
sha256 = "1x9fjvf7rbhil09am2v9j2jhwysdvwgshf9zidbirjgfrqn573h8"; sha256 = "1fr9mb7s5f0kiwxf04lqbyqbxfsvki0kwnpcy41m3p3la22mqz47";
}; };
nativeBuildInputs = [ clang cmake bison flex llvm python ]; nativeBuildInputs = [ clang cmake bison flex llvm python ];

View File

@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
] ]
++ (stdenv.lib.optionals stdenv.isDarwin [ Foundation libobjc ]); ++ (stdenv.lib.optionals stdenv.isDarwin [ Foundation libobjc ]);
propagatedBuildInputs = [glib];
configureFlags = [ configureFlags = [
"--x-includes=${libX11.dev}/include" "--x-includes=${libX11.dev}/include"
"--x-libraries=${libX11.out}/lib" "--x-libraries=${libX11.out}/lib"

View File

@ -18,19 +18,19 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "purescript"; pname = "purescript";
version = "0.13.6"; version = "0.13.8";
src = src =
if stdenv.isDarwin if stdenv.isDarwin
then then
fetchurl { fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz"; url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz";
sha256 = "04kwjjrriyizpvhs96jgyx21ppyd1ynblk24i5825ywxlw9hja25"; sha256 = "058w8w24g7xbdkn5l97jfj9dcg81vkfh3w8112anj982lynk6391";
} }
else else
fetchurl { fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz"; url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz";
sha256 = "012znrj32aq96qh1g2hscdvhl3flgihhimiz40agk0dykpksblns"; sha256 = "01xb9sl6rmg02ypdrv4n0mkzmdr5y9rajcdmg9c3j46q7z6q9mxy";
}; };
@ -59,7 +59,7 @@ in stdenv.mkDerivation rec {
description = "A strongly-typed functional programming language that compiles to JavaScript"; description = "A strongly-typed functional programming language that compiles to JavaScript";
homepage = "https://www.purescript.org/"; homepage = "https://www.purescript.org/";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.justinwoo maintainers.mbbx6spp ]; maintainers = with maintainers; [ justinwoo mbbx6spp cdepillabout ];
platforms = [ "x86_64-linux" "x86_64-darwin" ]; platforms = [ "x86_64-linux" "x86_64-darwin" ];
}; };
} }

View File

@ -6,12 +6,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rgbds"; pname = "rgbds";
version = "0.3.10"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rednex"; owner = "rednex";
repo = "rgbds"; repo = "rgbds";
rev = "v${version}"; rev = "v${version}";
sha256 = "0752fbffxgxyf3jw2iij88l05dqhppgcxy7dvk82hp4wdg4cflpq"; sha256 = "15680964nlsa83nqgxk7knxajn98lddz2hg6jnn8ffmnms5wdam7";
}; };
nativeBuildInputs = [ bison flex pkg-config libpng ]; nativeBuildInputs = [ bison flex pkg-config libpng ];
installFlags = [ "PREFIX=\${out}" ]; installFlags = [ "PREFIX=\${out}" ];

View File

@ -1,26 +1,17 @@
{ buildDhallPackage, fetchFromGitHub, lib }: { buildDhallGitHubPackage, lib }:
let let
makePrelude = makePrelude =
version: version: { rev, sha256 }:
lib.makeOverridable buildDhallGitHubPackage {
( { rev, sha256, file ? "package.dhall" }: name = "Prelude-${version}";
buildDhallPackage { owner = "dhall-lang";
name = "Prelude-${version}"; repo = "dhall-lang";
directory = "Prelude";
file = "package.dhall";
code = inherit rev sha256;
let };
src = fetchFromGitHub {
owner = "dhall-lang";
repo = "dhall-lang";
inherit rev sha256;
};
in
"${src}/Prelude/${file}";
}
);
in in
lib.mapAttrs makePrelude { lib.mapAttrs makePrelude {

View File

@ -1,29 +1,16 @@
{ buildDhallPackage, fetchFromGitHub, lib }: { buildDhallGitHubPackage, lib }:
let let
makeDhallKubernetes = makeDhallKubernetes =
version: version: { rev, sha256 }:
lib.makeOverridable buildDhallGitHubPackage {
( { rev name = "dhall-kubernetes-${version}";
, sha256 owner = "dhall-lang";
, file ? "package.dhall" repo = "dhall-kubernetes";
}: file = "package.dhall";
buildDhallPackage {
name = "dhall-kubernetes-${version}";
code = inherit rev sha256;
let };
src = fetchFromGitHub {
owner = "dhall-lang";
repo = "dhall-kubernetes";
inherit rev sha256;
};
in
"${src}/${file}";
}
);
in in
lib.mapAttrs makeDhallKubernetes { lib.mapAttrs makeDhallKubernetes {

View File

@ -1,47 +1,32 @@
{ buildDhallPackage, dhall-kubernetes, fetchFromGitHub, lib, Prelude }: { buildDhallGitHubPackage, dhall-kubernetes, lib, Prelude }:
let let
makeDhallPackages = makeDhallPackages =
version: version: { rev, sha256, dependencies }:
lib.makeOverridable buildDhallGitHubPackage {
( { rev name = "dhall-packages-${version}";
, sha256 owner = "EarnestResearch";
, dependencies repo = "dhall-packages";
}: file = "package.dhall";
buildDhallPackage {
name = "dhall-packages-${version}";
inherit dependencies; inherit rev sha256 dependencies;
};
code =
let
src = fetchFromGitHub {
owner = "EarnestResearch";
repo = "dhall-packages";
inherit rev sha256;
};
in
"${src}/package.dhall";
}
);
in in
lib.mapAttrs makeDhallPackages { lib.mapAttrs makeDhallPackages {
"0.11.1" = "0.11.1" =
let let
k8s_6a47bd = dhall-kubernetes."3.0.0".override { k8s_6a47bd = dhall-kubernetes.override {
rev = "6a47bd50c4d3984a13570ea62382a3ad4a9919a4"; rev = "6a47bd50c4d3984a13570ea62382a3ad4a9919a4";
sha256 = "1azqs0x2kia3xw93rfk2mdi8izd7gy9aq6qzbip32gin7dncmfhh"; sha256 = "1azqs0x2kia3xw93rfk2mdi8izd7gy9aq6qzbip32gin7dncmfhh";
}; };
k8s_4ad581 = dhall-kubernetes."3.0.0".override { k8s_4ad581 = dhall-kubernetes.override {
rev = "4ad58156b7fdbbb6da0543d8b314df899feca077"; rev = "4ad58156b7fdbbb6da0543d8b314df899feca077";
sha256 = "12fm70qbhcainxia388svsay2cfg9iksc6mss0nvhgxhpypgp8r0"; sha256 = "12fm70qbhcainxia388svsay2cfg9iksc6mss0nvhgxhpypgp8r0";
}; };
k8s_fee24c = dhall-kubernetes."3.0.0".override { k8s_fee24c = dhall-kubernetes.override {
rev = "fee24c0993ba0b20190e2fdb94e386b7fb67252d"; rev = "fee24c0993ba0b20190e2fdb94e386b7fb67252d";
sha256 = "11d93z8y0jzrb8dl43gqha9z96nxxqkl7cbxpz8hw8ky9x6ggayk"; sha256 = "11d93z8y0jzrb8dl43gqha9z96nxxqkl7cbxpz8hw8ky9x6ggayk";
}; };

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "guile-cairo"; pname = "guile-cairo";
version = "1.11.0"; version = "1.11.1";
src = fetchurl { src = fetchurl {
url = "mirror://savannah/guile-cairo/${pname}-${version}.tar.gz"; url = "mirror://savannah/guile-cairo/${pname}-${version}.tar.gz";
sha256 = "11fn2x2973dizzw94fkz6rj9crsyzchphq5097lvbkvqpzbyidyp"; sha256 = "1gc642r9ndsjhhmh9bl5cbd3dwvy4dpxwhr0zpsw43y9nmz37xpl";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];

View File

@ -0,0 +1,25 @@
{ buildDhallPackage, lib }:
# This is a minor variation on `buildDhallPackage` that splits the `code`
# argument into `src` and `file` in such a way that you can easily override
# the `file`
#
# This function is used by `dhall-to-nixpkgs` when given a directory
lib.makeOverridable
( { # Arguments passed through to `buildDhallPackage`
name
, dependencies ? []
, source ? false
, src
, # The file to import, relative to the root directory
file ? "package.dhall"
}:
buildDhallPackage {
inherit name dependencies source;
code = "${src}/${file}";
}
)

View File

@ -0,0 +1,50 @@
{ buildDhallPackage, fetchFromGitHub, lib }:
# This function is used by `dhall-to-nixpkgs` when given a GitHub repository
lib.makeOverridable
( { # Arguments passed through to `buildDhallPackage`
name
, dependencies ? []
, source ? false
, # The directory containing the Dhall files, if other than the root of the
# repository
directory ? ""
, # The file to import, relative to the above directory
file ? "package.dhall"
# Arguments passed through to `fetchFromGitHub`
, owner
, repo
, rev
# Extra arguments passed through to `fetchFromGitHub`, such as the hash
# or `fetchSubmodules`
, ...
}@args:
buildDhallPackage {
inherit name dependencies source;
code =
let
src = fetchFromGitHub ({
name = "${name}-source";
inherit owner repo rev;
} // removeAttrs args [
"name"
"dependencies"
"source"
"directory"
"file"
"owner"
"repo"
"rev"
]);
prefix = lib.optionalString (directory != "") "${directory}/";
in
"${src}/${prefix}${file}";
}
)

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "apache-activemq"; pname = "apache-activemq";
version = "5.15.12"; version = "5.15.13";
src = fetchurl { src = fetchurl {
sha256 = "14v117r9zqvrqr79h66r0dm9lyxq3104rcdizcnvk0syz0zbwps1"; sha256 = "1hzapnd0lbiid243xiaz8kv67al8griccjj4dabml62hqhrk9k96";
url = "mirror://apache/activemq/${version}/${pname}-${version}-bin.tar.gz"; url = "mirror://apache/activemq/${version}/${pname}-${version}-bin.tar.gz";
}; };

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libmysofa"; pname = "libmysofa";
version = "1.0"; version = "1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hoene"; owner = "hoene";
repo = "libmysofa"; repo = "libmysofa";
rev = "v${version}"; rev = "v${version}";
sha256 = "053inxfl2n6wdgvnn02kf63m92r48ch4wqix9mqf3rgcf1bfkyfa"; sha256 = "12jzap5fh0a1fmfy4z8z4kjjlwi0qzdb9z59ijdlyqdzwxnzkccx";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cimg"; pname = "cimg";
version = "2.9.0"; version = "2.9.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dtschump"; owner = "dtschump";
repo = "CImg"; repo = "CImg";
rev = "v.${version}"; rev = "v.${version}";
sha256 = "1x43c1w2kzr6h3j7y3kwiwb7nba0iymck6bq9psvp53mh9xxrfd1"; sha256 = "0vl7dscbms4834gm1000sp17pr714pbqwicn40pbl85mxr3pnjp3";
}; };
installPhase = '' installPhase = ''

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cpp-hocon"; pname = "cpp-hocon";
version = "0.2.1"; version = "0.2.2";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0ar7q3rp46m01wvfa289bxnk9xma3ydc67by7i4nrpz8vamvhwc3"; sha256 = "1c8zy4hi0182k0vfx5l8bjq1iv7lvvw1zi4vy3429s898rx7z3d3";
rev = version; rev = version;
repo = "cpp-hocon"; repo = "cpp-hocon";
owner = "puppetlabs"; owner = "puppetlabs";

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "curlcpp"; pname = "curlcpp";
version = "1.1"; version = "1.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "JosephP91"; owner = "JosephP91";
repo = "curlcpp"; repo = "curlcpp";
rev = version; rev = version;
sha256 = "025qg5hym73xrvyhalv3jgbf9jqnnzkdjs3zwsgbpqx58zyd5bg5"; sha256 = "1zx76jcddqk4zkcdb6p7rsmkjbbjm2cj6drj0c8hdd61ms1d0f3n";
}; };
buildInputs = [ cmake curl ]; buildInputs = [ cmake curl ];

View File

@ -8,11 +8,11 @@ assert odbcSupport -> unixODBC != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "freetds"; pname = "freetds";
version = "1.1.40"; version = "1.1.42";
src = fetchurl { src = fetchurl {
url = "https://www.freetds.org/files/stable/${pname}-${version}.tar.bz2"; url = "https://www.freetds.org/files/stable/${pname}-${version}.tar.bz2";
sha256 = "0wc7xxf8fzpp3pc3hpsamnykn0vjkq53qp53nyxjjcri8g0ch7wq"; sha256 = "02phnk88zv4f8byx954784w8mh33knsslwvj266jfyrmxz6hxxxg";
}; };
buildInputs = [ buildInputs = [

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, which, pkgconfig, mono, gtk-sharp-2_0 }: { stdenv, fetchFromGitHub, autoconf, automake, which, pkgconfig, mono, glib, gtk-sharp-2_0 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gio-sharp"; pname = "gio-sharp";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig autoconf automake which ]; nativeBuildInputs = [ pkgconfig autoconf automake which ];
buildInputs = [ mono gtk-sharp-2_0 ]; buildInputs = [ mono glib gtk-sharp-2_0 ];
dontStrip = true; dontStrip = true;

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gmm"; pname = "gmm";
version = "5.3"; version = "5.4";
src = fetchurl { src = fetchurl {
url = "mirror://savannah/getfem/stable/${pname}-${version}.tar.gz"; url = "mirror://savannah/getfem/stable/${pname}-${version}.tar.gz";
sha256 = "0lkjd3n0298w1dli446z320sn7mqdap8h9q31nydkbw2k7b4db46"; sha256 = "0mhygfpsdyr0d4h3sn6g7nxn149yrlqv7r2h34yqkrpv1q4daqvi";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -16,7 +16,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libfprint"; pname = "libfprint";
version = "1.90.1"; version = "1.90.2";
outputs = [ "out" "devdoc" ]; outputs = [ "out" "devdoc" ];
src = fetchFromGitLab { src = fetchFromGitLab {
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
owner = "libfprint"; owner = "libfprint";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0fdaak7qjr9b4482g7fhhqpyfdqpxq5kpmyzkp7f5i7qq2ynb78a"; sha256 = "0g890y49anqd7yfz86iyvywxgbfmfmj6813fy58m5n8jain7iy1b";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -19,7 +19,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libjcat"; pname = "libjcat";
version = "0.1.2"; version = "0.1.3";
outputs = [ "bin" "out" "dev" "devdoc" "man" "installedTests" ]; outputs = [ "bin" "out" "dev" "devdoc" "man" "installedTests" ];
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
owner = "hughsie"; owner = "hughsie";
repo = "libjcat"; repo = "libjcat";
rev = version; rev = version;
sha256 = "0smd1i6gzpp34gv494jcnx40wm36v1s8bypqlfrf8l6q9cl77gyd"; sha256 = "157bi1v9qqk45rkq7lg08l7g3bxwacl4h89vnr7msjmg0hri36kc";
}; };
patches = [ patches = [

View File

@ -12,13 +12,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "liblouis"; pname = "liblouis";
version = "3.13.0"; version = "3.14.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "liblouis"; owner = "liblouis";
repo = "liblouis"; repo = "liblouis";
rev = "v${version}"; rev = "v${version}";
sha256 = "1srpafxdw4627lyv92cn8wd9zda3507qpp5s2z66bsln8jnb1mza"; sha256 = "0v6w8b9r994mkkbm2gqgd7k5yfmdhgbabh0j1gmn375nyvhy4qqh";
}; };
outputs = [ "out" "dev" "man" "info" "doc" ]; outputs = [ "out" "dev" "man" "info" "doc" ];

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, libmnl, libnfnetlink }: { stdenv, fetchurl, pkgconfig, libmnl, libnfnetlink }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.0.3"; version = "1.0.4";
pname = "libnetfilter_queue"; pname = "libnetfilter_queue";
src = fetchurl { src = fetchurl {
url = "https://www.netfilter.org/projects/libnetfilter_queue/files/${pname}-${version}.tar.bz2"; url = "https://www.netfilter.org/projects/libnetfilter_queue/files/${pname}-${version}.tar.bz2";
sha256 = "0x77m1fvbqzz5z64jz59fb6j8dvv8b9pg4fmznqwax4x6imjcncq"; sha256 = "0w7s6g8bikch1m4hnxdakpkwgrkw64ikb6wb4v4zvgyiywrk5yai";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }: { stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.7.13"; version = "0.7.14";
pname = "libsolv"; pname = "libsolv";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openSUSE"; owner = "openSUSE";
repo = "libsolv"; repo = "libsolv";
rev = version; rev = version;
sha256 = "1hjk7r7047i451xjgw72in62pya1h1436fvx945vxlvswl5s6iw8"; sha256 = "10klbgknl2njbjl4k0l50ii7afwqrl1691ar4ry3snmc8chb1z7g";
}; };
cmakeFlags = [ cmakeFlags = [

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Implements double cryptographic ratchet and Megolm ratchet"; description = "Implements double cryptographic ratchet and Megolm ratchet";
license = stdenv.lib.licenses.asl20; license = stdenv.lib.licenses.asl20;
homepage = "https://matrix.org/git/olm/about"; homepage = "https://gitlab.matrix.org/matrix-org/olm";
platforms = with stdenv.lib.platforms; darwin ++ linux; platforms = with stdenv.lib.platforms; darwin ++ linux;
}; };
} }

View File

@ -19,7 +19,7 @@
assert !cudaSupport || cudatoolkit != null; assert !cudaSupport || cudatoolkit != null;
let let
version = "4.0.3"; version = "4.0.4";
cudatoolkit_joined = symlinkJoin { cudatoolkit_joined = symlinkJoin {
name = "${cudatoolkit.name}-unsplit"; name = "${cudatoolkit.name}-unsplit";
@ -31,7 +31,7 @@ in stdenv.mkDerivation rec {
src = with stdenv.lib.versions; fetchurl { src = with stdenv.lib.versions; fetchurl {
url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2"; url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2";
sha256 = "00zxcw99gr5n693cmcmn4f6a47vx1ywna895p0x7p163v37gw0hl"; sha256 = "1i0slg2dxjdgw513aml1n9dsbdxn2fimi2b5712d5r9z4ar4xqj7";
}; };
postPatch = '' postPatch = ''

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "openwsman"; pname = "openwsman";
version = "2.6.11"; version = "2.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Openwsman"; owner = "Openwsman";
repo = "openwsman"; repo = "openwsman";
rev = "v${version}"; rev = "v${version}";
sha256 = "0s8xdxrxnh1l0v41n5cw89b89rrlqlxn1yj14sw224230y8m70ka"; sha256 = "19dj38jyzhhhvk863cikcwk5awzlq3337pxmsaqqm4wrcygrkfmx";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];

View File

@ -1,35 +1,31 @@
{ stdenv, lib, fetchurl, fetchpatch { stdenv, lib, fetchFromGitHub
, cmocka, doxygen, ibm-sw-tpm2, iproute, openssl, perl, pkgconfig, procps , autoreconfHook, autoconf-archive, pkg-config, doxygen, perl
, uthash, which , openssl, json_c, curl, libgcrypt
, cmocka, uthash, ibm-sw-tpm2, iproute, procps, which
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tpm2-tss"; pname = "tpm2-tss";
version = "2.3.2"; version = "2.4.1";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/tpm2-software/${pname}/releases/download/${version}/${pname}-${version}.tar.gz"; owner = "tpm2-software";
sha256 = "19jg09sxy3aj4dc1yv32jjv0m62cnmhjlw02jbh4d4pk2439m4l2"; repo = pname;
rev = version;
sha256 = "09x5czaj4a8cyf8cxavcasx3yy1kik1s45a90c7zvxb7y1kfp9zs";
}; };
patches = [ nativeBuildInputs = [
# Fix test failure. see https://github.com/tpm2-software/tpm2-tss/pull/1585 autoreconfHook autoconf-archive pkg-config doxygen perl
(fetchpatch { ];
url = "https://patch-diff.githubusercontent.com/raw/tpm2-software/tpm2-tss/pull/1585.patch"; buildInputs = [ openssl json_c curl libgcrypt ];
sha256 = "0ak3l588ahzv3yx1gfa4sa6p74lsffxzkr23ppznm34wvlcci86n"; checkInputs = [
}) cmocka uthash ibm-sw-tpm2 iproute procps which
]; ];
nativeBuildInputs = [ preAutoreconf = "./bootstrap";
doxygen perl pkgconfig
# For unit tests and integration tests. enableParallelBuilding = true;
ibm-sw-tpm2 iproute procps which
];
buildInputs = [
openssl
# For unit tests and integration tests.
cmocka uthash
];
postPatch = "patchShebangs script"; postPatch = "patchShebangs script";

View File

@ -359,6 +359,33 @@ inspect = buildLuarocksPackage {
license.fullName = "MIT <http://opensource.org/licenses/MIT>"; license.fullName = "MIT <http://opensource.org/licenses/MIT>";
}; };
}; };
ldbus = buildLuarocksPackage {
pname = "ldbus";
version = "scm-0";
knownRockspec = (fetchurl {
url = "https://luarocks.org/dev/ldbus-scm-0.rockspec";
sha256 = "1yhkw5y8h1qf44vx31934k042cmnc7zcv2k0pv0g27wsmlxrlznx";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "git://github.com/daurnimator/ldbus.git",
"rev": "9e176fe851006037a643610e6d8f3a8e597d4073",
"date": "2019-08-16T14:26:05+10:00",
"sha256": "06wcz4i5b7kphqbry274q3ivnsh331rxiyf7n4qk3zx2kvarq08s",
"fetchSubmodules": true
}
'') ["date"]) ;
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
propagatedBuildInputs = [ lua ];
meta = with stdenv.lib; {
homepage = "https://github.com/daurnimator/ldbus";
description = "A Lua library to access dbus.";
license.fullName = "MIT/X11";
};
};
ldoc = buildLuarocksPackage { ldoc = buildLuarocksPackage {
pname = "ldoc"; pname = "ldoc";
version = "1.4.6-2"; version = "1.4.6-2";

View File

@ -76,6 +76,17 @@ with super;
*/ */
}); });
ldbus = super.ldbus.override({
extraVariables = {
DBUS_DIR="${pkgs.dbus.lib}";
DBUS_ARCH_INCDIR="${pkgs.dbus.lib}/lib/dbus-1.0/include";
DBUS_INCDIR="${pkgs.dbus.dev}/include/dbus-1.0";
};
buildInputs = with pkgs; [
dbus
];
});
ljsyscall = super.ljsyscall.override(rec { ljsyscall = super.ljsyscall.override(rec {
version = "unstable-20180515"; version = "unstable-20180515";
# package hasn't seen any release for a long time # package hasn't seen any release for a long time

View File

@ -4,14 +4,14 @@
, ply, python_magic, pytest, requests }: , ply, python_magic, pytest, requests }:
buildPythonPackage rec { buildPythonPackage rec {
version = "2.2.3"; version = "2.3.0";
pname = "beancount"; pname = "beancount";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0pcfl2rx2ng06i4f9izdpnlnb1k0rdzsckbzzn4cn4ixfzyssm0m"; sha256 = "04i788glp2cslwi67dixy1pi5l0izcl078i9mrd1j1sh8f99cvcs";
}; };
# Tests require files not included in the PyPI archive. # Tests require files not included in the PyPI archive.

View File

@ -6,6 +6,7 @@
, six , six
, html5lib , html5lib
, setuptools , setuptools
, packaging
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -18,11 +19,7 @@ buildPythonPackage rec {
}; };
checkInputs = [ pytest pytestrunner ]; checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ six html5lib setuptools ]; propagatedBuildInputs = [ packaging six html5lib setuptools ];
postPatch = ''
substituteInPlace setup.py --replace ",<3dev" ""
'';
# Disable network tests # Disable network tests
checkPhase = '' checkPhase = ''

View File

@ -9,6 +9,7 @@
, pkgconfig , pkgconfig
, dotnetbuildhelpers , dotnetbuildhelpers
, clang , clang
, glib
, mono , mono
}: }:
@ -63,6 +64,7 @@ buildPythonPackage rec {
]; ];
buildInputs = [ buildInputs = [
glib
mono mono
psutil # needed for memory leak tests psutil # needed for memory leak tests
]; ];

View File

@ -21,11 +21,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "spacy"; pname = "spacy";
version = "2.2.4"; version = "2.3.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1fgm1zlw8mjhmk64skxs79ymhcningml13y9c9fy7rj1b1yadwzh"; sha256 = "0nri437dyapiq5gx8lbmjdfvqw2cnw3di13kp44rzr17bm5yh2jv";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -54,7 +54,7 @@ buildPythonPackage rec {
# ''; # '';
postPatch = '' postPatch = ''
substituteInPlace setup.cfg --replace "thinc==7.4.0" "thinc>=7.4.0,<8" substituteInPlace setup.cfg --replace "thinc==7.4.1" "thinc>=7.4.1,<8"
''; '';
meta = with lib; { meta = with lib; {
@ -62,5 +62,5 @@ buildPythonPackage rec {
homepage = "https://github.com/explosion/spaCy"; homepage = "https://github.com/explosion/spaCy";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ danieldk sdll ]; maintainers = with maintainers; [ danieldk sdll ];
}; };
} }

View File

@ -1,108 +1,108 @@
[{ [{
"pname": "de_core_news_md", "pname": "de_core_news_md",
"version": "2.2.5", "version": "2.3.0",
"sha256": "1jkc4r0f1916k5qpmpnwawsbnrbscq250q7b1llgxi70f2xyw9gk", "sha256": "0kxir1w000r5fn1kpa38m7688xinkn2mk1m82aiwqlck3r72jdi6",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "de_core_news_sm", "pname": "de_core_news_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "10z30hirfwa692m0zp6wk60ccvqj84i5vjaiyyzd21innysb5y3g", "sha256": "00cbmrf4njg28laysapdnp4rv4lw4yw03rxkynw1ain5fwb0izl7",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "el_core_news_md", "pname": "el_core_news_md",
"version": "2.2.5", "version": "2.3.0",
"sha256": "1jjmf6rf1hjgqswhpqq2l5w7s351k4kk93c7rr85iv2754f71h36", "sha256": "170x8bzm5nf02mhkxyxjk58yk2639hsjb5b9prcc69500c0vmnp0",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "el_core_news_sm", "pname": "el_core_news_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "00h55fc27d3jfm3knyidz7a4rasiz7qs4wfs3sl0ndq815yvag0l", "sha256": "10mh3za4jvr07rawzk8ps642rp11s3smraj9xvrxflik4fqkz18b",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "en_core_web_lg", "pname": "en_core_web_lg",
"version": "2.2.5", "version": "2.3.0",
"sha256": "1shd4gkshr4a92fhvrjhzn1abywnrcf548cv3dz8dhmi0wxa4klr", "sha256": "0mfa5wz31ya295jhyj489gb4qy806zmpq1zc11bvv5alv2m35if2",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "en_core_web_md", "pname": "en_core_web_md",
"version": "2.2.5", "version": "2.3.0",
"sha256": "1x32vl2a75ps2iyhysjvdygd366zs546s82yzqwj2m7jcsdszrxy", "sha256": "1ys8sqkhiap1mq6mhbkbq8bc07lvl68xngbx725xkwvirzl5gabh",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "en_core_web_sm", "pname": "en_core_web_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "1vna6zik7863hahxdgz0s80kbbfyw42h4c1k5jby9lkzr5jr1dk0", "sha256": "04icv9qf4pj53ll8vqxcjl2a723q1k00i7lifk8wx5saif28g37a",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "en_vectors_web_lg", "pname": "en_vectors_web_lg",
"version": "2.1.0", "version": "2.3.0",
"sha256": "1sq41pr70215f2s8k35x5ni4w0i4xhbzbfg3iyxgbp1b35gizg94", "sha256": "13g012rwh0bcxx3ii5mmygqzyryah1y3zd000zhidnacc1x1g743",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "es_core_news_md", "pname": "es_core_news_md",
"version": "2.2.5", "version": "2.3.0",
"sha256": "0b50gd2mx1klr6ss0fsj58qmw2wpbawwv015pr9vq3j7jq805scl", "sha256": "0nz33bmpr3rxqbnv6vb1id8pkfsvh8ii8vqplwgb3b8772kmpzy2",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "es_core_news_sm", "pname": "es_core_news_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "19hrpxg1a5bvf9j9wlm03rkxfkgrldky7alsgl8bdwnwq3vpbgfi", "sha256": "02xqhg4m0gg5r9yibvl02zixkll6w0nsmbdhp07y5yyaqjarc90d",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "fr_core_news_md", "pname": "fr_core_news_md",
"version": "2.2.5", "version": "2.3.0",
"sha256": "1y4dqbcwa7gg6z8q84n0j4my7gyia7a2z7pln71sqa78pin06r9b", "sha256": "04fk212ksac3bp9dj7dmzsdcnbqmbsgymsic6ddcv9zbfdv5d0db",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "fr_core_news_sm", "pname": "fr_core_news_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "1q2kvznbylyz4frxy5rbvpm5jvm7bfin8g3dks0c1k9hhdymv35y", "sha256": "0kldww855z67qfc9maa9z1lsvdf5vj5vc8gj0x3h68kv5n1xr4h0",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "it_core_news_sm", "pname": "it_core_news_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "02r3x308s5kn62xpa2cizxfw7cyjk48zm9i6r4vhs8kycmp9z0px", "sha256": "1c3ywqa8li0j7cyvd1xqbb096y61978hd6qv7rc6cxxjdhmkrrds",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "lt_core_news_sm", "pname": "lt_core_news_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "0vy0cff1fw33srqyi93vj03rnzqr8f62p1hwi565b0sb8v3n4p08", "sha256": "0r3rbqgz4897wyhz5jli30lryb45039f4rlvn4q0364cg1pm92g9",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "nb_core_news_sm", "pname": "nb_core_news_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "1kdn3qwlmmd52sjrvi97aiv7xp260bka009jjal79l3qrz4czrw1", "sha256": "07b7xri2q3m7fvn9a2gjc1044a3f14231vr32hrw96h7k6vg95h7",
"license": "mit" "license": "mit"
}, },
{ {
"pname": "nl_core_news_sm", "pname": "nl_core_news_sm",
"version": "2.2.1", "version": "2.3.0",
"sha256": "0gw9a1j3v4f15cxcz7zr7dz7mqi2a3541b04q6kj74gg397li4ny", "sha256": "0alvz7pn7cj0yax8h5gp71vrdblh3mcsmyhzgiddsd44ry35nxnj",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "pt_core_news_sm", "pname": "pt_core_news_sm",
"version": "2.2.5", "version": "2.3.0",
"sha256": "02p617ybh6wqmq1scch9dgim44rhhj0k81sbw8nysv20pc6wb89a", "sha256": "1vcvzdg9f93x0vaafkk9l9xhpmaavfj0cf0l3p06c5kx2d76f9ph",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{ {
"pname": "xx_ent_wiki_sm", "pname": "xx_ent_wiki_sm",
"version": "2.2.0", "version": "2.3.0",
"sha256": "0niwnd1mdaji92yp2dqsbmr0w420gpaybb1ppbqr1rmk6bwgyhsb", "sha256": "0x3zmmybl5kh4dn5prkfmr4q5j9bh13p40qc3rhdfi0i3jxc11pn",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}] }]

View File

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "bazel-buildtools"; pname = "bazel-buildtools";
version = "3.2.0"; version = "3.2.1";
goPackagePath = "github.com/bazelbuild/buildtools"; goPackagePath = "github.com/bazelbuild/buildtools";
@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "bazelbuild"; owner = "bazelbuild";
repo = "buildtools"; repo = "buildtools";
rev = version; rev = version;
sha256 = "0r3vc47w5vxgy5rzh75q0lng1c490ic1a1dcc0ih7dcl6i5p1p88"; sha256 = "1f2shjskcmn3xpgvb9skli5xaf942wgyg5ps7r905n1zc0gm8izn";
}; };
goDeps = ./deps.nix; goDeps = ./deps.nix;

View File

@ -10,11 +10,11 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "liquibase"; pname = "liquibase";
version = "3.9.0"; version = "3.10.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/liquibase/liquibase/releases/download/v${version}/${pname}-${version}.tar.gz"; url = "https://github.com/liquibase/liquibase/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "0qasiggaxix3gmmvax00k83q4pd1c1b5wx8ayyplaszkgr9advb8"; sha256 = "1h5mcbs6mkk6cqjm8qm63rynz7611gq32v2jirl1qn71x2s7pq6y";
}; };
buildInputs = [ jre makeWrapper ]; buildInputs = [ jre makeWrapper ];

View File

@ -2,23 +2,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "webdis"; pname = "webdis";
version = "0.1.9"; version = "0.1.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nicolasff"; owner = "nicolasff";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1kglzbs1sw3w05i678qr3lv4pxia20k2a8s3pjhfcxdlnlcy23sk"; sha256 = "1hn4fq0asivfs56rw9ck1vc3g6h6fnwywh8v4zs2bkyn62fg9mcw";
}; };
patches = [
# Do not use DESTDIR. See: https://github.com/nicolasff/webdis/pull/172
(fetchpatch {
url = "https://github.com/nicolasff/webdis/commit/a44a2964a59f2e583f4945eeb65cd19235059270.patch";
sha256 = "0i41p98gc201vpp5ppjc9gxdyb1bpimr0qrvibaf3iq3sy4jr1gb";
})
];
buildInputs = [ hiredis http-parser jansson libevent ]; buildInputs = [ hiredis http-parser jansson libevent ];
makeFlags = [ makeFlags = [

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, jre_headless, makeWrapper }: { stdenv, fetchurl, jre_headless, makeWrapper }:
let let
version = "6.4.3"; version = "6.4.4";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "flyway"; pname = "flyway";
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = "https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz"; url = "https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz";
sha256 = "05gbqc3hvi7yiqf03iwyamvvhc3jmyfvv1989527psdzhxs8gw7b"; sha256 = "16zckqq64jv3031ssrvzw4ny98gnxhy2hsdp877i38zxqsvzdcym";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
dontBuild = true; dontBuild = true;

View File

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "gllvm"; pname = "gllvm";
version = "1.2.3"; version = "1.2.6";
goPackagePath = "github.com/SRI-CSL/gllvm"; goPackagePath = "github.com/SRI-CSL/gllvm";
@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "SRI-CSL"; owner = "SRI-CSL";
repo = "gllvm"; repo = "gllvm";
rev = "v${version}"; rev = "v${version}";
sha256 = "12kdgsma62nzksvw266qm3ivkbz62ma93dd25wy0p19789v4fi7s"; sha256 = "0qzmrprc7npc0ln6mhkjrm8fgh2n94rdylixk11p6imxyx5fj3gg";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "go-protobuf"; pname = "go-protobuf";
version = "1.3.2"; version = "1.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "golang"; owner = "golang";
repo = "protobuf"; repo = "protobuf";
rev = "v${version}"; rev = "v${version}";
sha256 = "1k1wb4zr0qbwgpvz9q5ws9zhlal8hq7dmq62pwxxriksayl6hzym"; sha256 = "0m5z81im4nsyfgarjhppayk4hqnrwswr3nix9mj8pff8x9jvcjqw";
}; };
vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5"; vendorSha256 = "04w9vhkrwb2zfqk73xmhignjyvjqmz1j93slkqp7v8jj2dhyla54";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/golang/protobuf"; homepage = "https://github.com/golang/protobuf";

View File

@ -1,12 +1,12 @@
{ stdenv, fetchzip, lib, makeWrapper, makeDesktopItem, jdk, gawk }: { stdenv, fetchzip, lib, makeWrapper, makeDesktopItem, jdk, gawk }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.0"; version = "2.0.2";
pname = "visualvm"; pname = "visualvm";
src = fetchzip { src = fetchzip {
url = "https://github.com/visualvm/visualvm.src/releases/download/${version}/visualvm_${builtins.replaceStrings ["."] [""] version}.zip"; url = "https://github.com/visualvm/visualvm.src/releases/download/${version}/visualvm_${builtins.replaceStrings ["."] [""] version}.zip";
sha256 = "057dzf7xkb4fdv4bc2fgw7mxnxclcjmflafx3n2qw0qcdky18gzr"; sha256 = "19h5804izhdhdwbpyfbfqsjwmnabz2djbhkv7gvzs66jxc6q8mgx";
}; };
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "flyctl"; pname = "flyctl";
version = "0.0.123"; version = "0.0.131";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "superfly"; owner = "superfly";
repo = "flyctl"; repo = "flyctl";
rev = "v${version}"; rev = "v${version}";
sha256 = "1gs796n2cw8kpfsqr21zqxzp8dmnhhmjfy7vnpi838566i5ql9q3"; sha256 = "0b9qrraydihw4wglif3rjmjlqdsgxh873023z3rgrvf7dwrhc9y0";
}; };
preBuild = '' preBuild = ''
@ -17,7 +17,7 @@ buildGoModule rec {
subPackages = [ "." ]; subPackages = [ "." ];
vendorSha256 = "10wcyxzkwvbhf86dq1rh852zgdg28draay0515zp459z34vv4zna"; vendorSha256 = "1gxz9pp4zl8q7pmwg9z261fjrjfr658k1sn5nq1xzz51wrlzg9ag";
buildFlagsArray = [ "-ldflags=-s -w -X github.com/superfly/flyctl/flyctl.Version=${version} -X github.com/superfly/flyctl/flyctl.Commit=${src.rev} -X github.com/superfly/flyctl/flyctl.BuildDate=1970-01-01T00:00:00+0000 -X github.com/superfly/flyctl/flyctl.Environment=production" ]; buildFlagsArray = [ "-ldflags=-s -w -X github.com/superfly/flyctl/flyctl.Version=${version} -X github.com/superfly/flyctl/flyctl.Commit=${src.rev} -X github.com/superfly/flyctl/flyctl.BuildDate=1970-01-01T00:00:00+0000 -X github.com/superfly/flyctl/flyctl.Environment=production" ];

View File

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, libpng }:
stdenv.mkDerivation rec {
pname = "augustus";
version = "1.4.1a";
src = fetchFromGitHub {
owner = "Keriew";
repo = "augustus";
rev = "v${version}";
sha256 = "1xqv8j8jh3f13fjhyf7hk1anrn799cwwsvsd75kpl9n5yh5s1j5y";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL2 SDL2_mixer libpng ];
meta = with stdenv.lib; {
description = "An open source re-implementation of Caesar III. Fork of Julius incorporating gameplay changes";
homepage = "https://github.com/Keriew/augustus";
license = licenses.agpl3;
platforms = platforms.all;
maintainers = with maintainers; [ Thra11 ];
};
}

View File

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, libpng }:
stdenv.mkDerivation rec {
pname = "julius";
version = "1.4.1";
src = fetchFromGitHub {
owner = "bvschaik";
repo = "julius";
rev = "v${version}";
sha256 = "12hhnhdwgz7hd3hlndbnk15pxggm1375qs0764ija4nl1gbpb110";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL2 SDL2_mixer libpng ];
meta = with stdenv.lib; {
description = "An open source re-implementation of Caesar III";
homepage = "https://github.com/bvschaik/julius";
license = licenses.agpl3;
platforms = platforms.all;
maintainers = with maintainers; [ Thra11 ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf { stdenv, fetchFromGitHub, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf
, pango, gettext, boost, libvorbis, fribidi, dbus, libpng, pcre, openssl, icu , pango, gettext, boost, libvorbis, fribidi, dbus, libpng, pcre, openssl, icu
, Cocoa, Foundation , Cocoa, Foundation
, enableTools ? false , enableTools ? false
@ -6,11 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wesnoth"; pname = "wesnoth";
version = "1.14.11"; version = "1.14.12";
src = fetchurl { src = fetchFromGitHub {
url = "mirror://sourceforge/sourceforge/${pname}/${pname}-${version}.tar.bz2"; rev = version;
sha256 = "1i8mz6gw3qar09bscczhki0g4scj8pl58v85rp0g55r4bcq41l5v"; owner = "wesnoth";
repo = "wesnoth";
sha256 = "0xpypy0yfjmjp3apvlh51nm19p1cjhjw2p547kvmrckm7y6naaw8";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
@ -33,7 +35,7 @@ stdenv.mkDerivation rec {
adventures. adventures.
''; '';
homepage = "http://www.wesnoth.org/"; homepage = "https://www.wesnoth.org/";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ abbradar ]; maintainers = with maintainers; [ abbradar ];
platforms = platforms.unix; platforms = platforms.unix;

Some files were not shown because too many files have changed in this diff Show More