mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge branch 'master' into staging-next
This commit is contained in:
commit
a821be7531
@ -124,6 +124,11 @@
|
|||||||
<literal>/var/lib/powerdns</literal> to <literal>/run/pdns</literal>.
|
<literal>/var/lib/powerdns</literal> to <literal>/run/pdns</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<package>btc1</package> has been abandoned upstream, and removed.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<package>riak-cs</package> package removed along with <varname>services.riak-cs</varname> module.
|
<package>riak-cs</package> package removed along with <varname>services.riak-cs</varname> module.
|
||||||
|
@ -183,6 +183,11 @@ sub pciCheck {
|
|||||||
push @imports, "(modulesPath + \"/hardware/network/broadcom-43xx.nix\")";
|
push @imports, "(modulesPath + \"/hardware/network/broadcom-43xx.nix\")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# In case this is a virtio scsi device, we need to explicitly make this available.
|
||||||
|
if ($vendor eq "0x1af4" && $device eq "0x1004") {
|
||||||
|
push @initrdAvailableKernelModules, "virtio_scsi";
|
||||||
|
}
|
||||||
|
|
||||||
# Can't rely on $module here, since the module may not be loaded
|
# Can't rely on $module here, since the module may not be loaded
|
||||||
# due to missing firmware. Ideally we would check modules.pcimap
|
# due to missing firmware. Ideally we would check modules.pcimap
|
||||||
# here.
|
# here.
|
||||||
|
@ -16,8 +16,12 @@ let
|
|||||||
serverConfig = {
|
serverConfig = {
|
||||||
options = {
|
options = {
|
||||||
accept = mkOption {
|
accept = mkOption {
|
||||||
type = types.int;
|
type = types.either types.str types.int;
|
||||||
description = "On which port stunnel should listen for incoming TLS connections.";
|
description = ''
|
||||||
|
On which [host:]port stunnel should listen for incoming TLS connections.
|
||||||
|
Note that unlike other softwares stunnel ipv6 address need no brackets,
|
||||||
|
so to listen on all IPv6 addresses on port 1234 one would use ':::1234'.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
connect = mkOption {
|
connect = mkOption {
|
||||||
@ -129,7 +133,6 @@ in
|
|||||||
type = with types; attrsOf (submodule serverConfig);
|
type = with types; attrsOf (submodule serverConfig);
|
||||||
example = {
|
example = {
|
||||||
fancyWebserver = {
|
fancyWebserver = {
|
||||||
enable = true;
|
|
||||||
accept = 443;
|
accept = 443;
|
||||||
connect = 8080;
|
connect = 8080;
|
||||||
cert = "/path/to/pem/file";
|
cert = "/path/to/pem/file";
|
||||||
|
@ -24,6 +24,7 @@ in
|
|||||||
_3proxy = handleTest ./3proxy.nix {};
|
_3proxy = handleTest ./3proxy.nix {};
|
||||||
acme = handleTest ./acme.nix {};
|
acme = handleTest ./acme.nix {};
|
||||||
agda = handleTest ./agda.nix {};
|
agda = handleTest ./agda.nix {};
|
||||||
|
ammonite = handleTest ./ammonite.nix {};
|
||||||
atd = handleTest ./atd.nix {};
|
atd = handleTest ./atd.nix {};
|
||||||
avahi = handleTest ./avahi.nix {};
|
avahi = handleTest ./avahi.nix {};
|
||||||
avahi-with-resolved = handleTest ./avahi.nix { networkd = true; };
|
avahi-with-resolved = handleTest ./avahi.nix { networkd = true; };
|
||||||
@ -311,6 +312,7 @@ in
|
|||||||
rxe = handleTest ./rxe.nix {};
|
rxe = handleTest ./rxe.nix {};
|
||||||
samba = handleTest ./samba.nix {};
|
samba = handleTest ./samba.nix {};
|
||||||
sanoid = handleTest ./sanoid.nix {};
|
sanoid = handleTest ./sanoid.nix {};
|
||||||
|
sbt = handleTest ./sbt.nix {};
|
||||||
sddm = handleTest ./sddm.nix {};
|
sddm = handleTest ./sddm.nix {};
|
||||||
service-runner = handleTest ./service-runner.nix {};
|
service-runner = handleTest ./service-runner.nix {};
|
||||||
shadowsocks = handleTest ./shadowsocks {};
|
shadowsocks = handleTest ./shadowsocks {};
|
||||||
|
@ -8,7 +8,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
|
|||||||
amm =
|
amm =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.ammonite ];
|
environment.systemPackages = [ (pkgs.ammonite.override { jre = pkgs.jre8; }) ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
18
nixos/tests/sbt.nix
Normal file
18
nixos/tests/sbt.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
import ./make-test-python.nix ({ pkgs, ...} : {
|
||||||
|
name = "sbt";
|
||||||
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
|
maintainers = [ nequissimus ];
|
||||||
|
};
|
||||||
|
|
||||||
|
machine = { pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.sbt ];
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript =
|
||||||
|
''
|
||||||
|
machine.succeed(
|
||||||
|
"(sbt --offline --version 2>&1 || true) | grep 'getting org.scala-sbt sbt ${pkgs.sbt.version} (this may take some time)'"
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
})
|
@ -13,13 +13,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mamba";
|
pname = "mamba";
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "brummer10";
|
owner = "brummer10";
|
||||||
repo = "Mamba";
|
repo = "Mamba";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "02w47347cbfqxybh908ww5ifd9jcns8v0msycq59y9q7x0a2h6fh";
|
sha256 = "1i78snpyxap2r4899967nyfr8hg20k45nsbshs9h6hdxbfwhikbc";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "padthv1";
|
pname = "padthv1";
|
||||||
version = "0.9.17";
|
version = "0.9.18";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/padthv1/${pname}-${version}.tar.gz";
|
url = "mirror://sourceforge/padthv1/${pname}-${version}.tar.gz";
|
||||||
sha256 = "098fk8fwcgssnfr1gilqg8g17zvch62lrn3rqsswpzbr3an5adb3";
|
sha256 = "1karrprb3ijrbiwpr43rl3nxnzc33lnmwrd1832psgr3flnr9fp5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libjack2 alsaLib libsndfile liblo lv2 qt5.qtbase qt5.qttools fftwFloat ];
|
buildInputs = [ libjack2 alsaLib libsndfile liblo lv2 qt5.qtbase qt5.qttools fftwFloat ];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, pkg-config, qttools
|
{ stdenv, fetchFromGitHub, cmake, pkg-config, qttools
|
||||||
, alsaLib, ftgl, libGLU, libjack2, qtbase, rtmidi
|
, alsaLib, ftgl, libGLU, libjack2, qtbase, rtmidi, wrapQtAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "03xcdnlpsij22ca3i6xj19yqzn3q2ch0d32r73v0c96nm04gvhjj";
|
sha256 = "03xcdnlpsij22ca3i6xj19yqzn3q2ch0d32r73v0c96nm04gvhjj";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config qttools ];
|
nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ alsaLib ftgl libGLU libjack2 qtbase rtmidi ];
|
buildInputs = [ alsaLib ftgl libGLU libjack2 qtbase rtmidi ];
|
||||||
|
|
||||||
|
@ -44,13 +44,13 @@ let
|
|||||||
];
|
];
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "pulseeffects";
|
pname = "pulseeffects";
|
||||||
version = "4.8.1";
|
version = "4.8.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wwmm";
|
owner = "wwmm";
|
||||||
repo = "pulseeffects";
|
repo = "pulseeffects";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "17yfs3ja7vflywhxbn3n3r8n6hl829x257kzplg2vpppppg6ylj6";
|
sha256 = "19h47mrxjm6x83pqcxfsshf48kd1babfk0kwdy1c7fjri7kj0g0s";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, autoreconfHook, hexdump, openssl, db48
|
|
||||||
, boost, zlib, miniupnpc, qt4, protobuf, qrencode, libevent
|
|
||||||
, AppKit
|
|
||||||
, withGui ? !stdenv.isDarwin
|
|
||||||
}:
|
|
||||||
|
|
||||||
with stdenv.lib;
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "bit1" + (toString (optional (!withGui) "d")) + "-" + version;
|
|
||||||
version = "1.15.1";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/btc1/bitcoin/archive/v${version}.tar.gz";
|
|
||||||
sha256 = "0v0g2wb4nsnhddxzb63vj2bc1mgyj05vqm5imicjfz8prvgc0si8";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoreconfHook hexdump ];
|
|
||||||
buildInputs = [ openssl db48 boost zlib miniupnpc protobuf libevent ]
|
|
||||||
++ optionals withGui [ qt4 qrencode ]
|
|
||||||
++ optional stdenv.isDarwin AppKit;
|
|
||||||
|
|
||||||
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
|
|
||||||
++ optionals withGui [ "--with-gui=qt4" ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Peer-to-peer electronic cash system (btc1 client)";
|
|
||||||
longDescription= ''
|
|
||||||
Bitcoin is a free open source peer-to-peer electronic cash system that is
|
|
||||||
completely decentralized, without the need for a central server or trusted
|
|
||||||
parties. Users hold the crypto keys to their own money and transact directly
|
|
||||||
with each other, with the help of a P2P network to check for double-spending.
|
|
||||||
|
|
||||||
btc1 is an implementation of a Bitcoin full node with segwit2x hard fork
|
|
||||||
support.
|
|
||||||
'';
|
|
||||||
homepage = "https://github.com/btc1/bitcoin";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ sorpaas ];
|
|
||||||
platforms = platforms.unix;
|
|
||||||
};
|
|
||||||
}
|
|
30
pkgs/applications/misc/dasel/default.nix
Normal file
30
pkgs/applications/misc/dasel/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "dasel";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "TomWright";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256:11xm47p7n79mq2zkv9q9m5v4a1gga01pkzi2j42gq1ma9hwz4idz";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256:1552k85z4s6gv7sss7dccv3h8x22j2sr12icp6s7s0a3i4iwyksw";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Query and update data structures from the command line";
|
||||||
|
longDescription = ''
|
||||||
|
Dasel (short for data-selector) allows you to query and modify data structures using selector strings.
|
||||||
|
Comparable to jq / yq, but supports JSON, YAML, TOML and XML with zero runtime dependencies.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/TomWright/dasel";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ _0x4A6F ];
|
||||||
|
};
|
||||||
|
}
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "gpxsee";
|
pname = "gpxsee";
|
||||||
version = "7.33";
|
version = "7.35";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tumic0";
|
owner = "tumic0";
|
||||||
repo = "GPXSee";
|
repo = "GPXSee";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1k4zl7knlpwxrpqk1axkmy8x12915z15h3q2sjnx3jcnx6qw73ja";
|
sha256 = "1schmymcsd8s0r26qwyx56z107ql8pgrk1pnqy19mc7fyirdwmp5";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = (substituteAll {
|
patches = (substituteAll {
|
||||||
@ -29,15 +29,14 @@ mkDerivation rec {
|
|||||||
wrapQtApp $out/Applications/GPXSee.app/Contents/MacOS/GPXSee
|
wrapQtApp $out/Applications/GPXSee.app/Contents/MacOS/GPXSee
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://www.gpxsee.org/";
|
|
||||||
description = "GPS log file viewer and analyzer";
|
description = "GPS log file viewer and analyzer";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
|
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
|
||||||
all common GPS log file formats.
|
all common GPS log file formats.
|
||||||
'';
|
'';
|
||||||
|
homepage = "https://www.gpxsee.org/";
|
||||||
|
changelog = "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ womfoo sikmir ];
|
maintainers = with maintainers; [ womfoo sikmir ];
|
||||||
platforms = with platforms; linux ++ darwin;
|
platforms = with platforms; linux ++ darwin;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
, gtkmm3
|
, gtkmm3
|
||||||
, pcre
|
, pcre
|
||||||
, swig
|
, swig
|
||||||
, antlr4_7
|
, antlr4_8
|
||||||
, sudo
|
, sudo
|
||||||
, mysql
|
, mysql
|
||||||
, libxml2
|
, libxml2
|
||||||
@ -80,7 +80,7 @@ in stdenv.mkDerivation rec {
|
|||||||
# have it look for 4.7.2 instead of 4.7.1
|
# have it look for 4.7.2 instead of 4.7.1
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace "antlr-4.7.1-complete.jar" "antlr-4.7.2-complete.jar"
|
--replace "antlr-4.7.1-complete.jar" "antlr-4.8-complete.jar"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -96,7 +96,7 @@ in stdenv.mkDerivation rec {
|
|||||||
gtk3
|
gtk3
|
||||||
gtkmm3
|
gtkmm3
|
||||||
libX11
|
libX11
|
||||||
antlr4_7.runtime.cpp
|
antlr4_8.runtime.cpp
|
||||||
python2
|
python2
|
||||||
mysql
|
mysql
|
||||||
libxml2
|
libxml2
|
||||||
@ -141,7 +141,7 @@ in stdenv.mkDerivation rec {
|
|||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DMySQL_CONFIG_PATH=${mysql}/bin/mysql_config"
|
"-DMySQL_CONFIG_PATH=${mysql}/bin/mysql_config"
|
||||||
"-DIODBC_CONFIG_PATH=${libiodbc}/bin/iodbc-config"
|
"-DIODBC_CONFIG_PATH=${libiodbc}/bin/iodbc-config"
|
||||||
"-DWITH_ANTLR_JAR=${antlr4_7.jarLocation}"
|
"-DWITH_ANTLR_JAR=${antlr4_8.jarLocation}"
|
||||||
# mysql-workbench 8.0.21 depends on libmysqlconnectorcpp 1.1.8.
|
# mysql-workbench 8.0.21 depends on libmysqlconnectorcpp 1.1.8.
|
||||||
# Newer versions of connector still provide the legacy library when enabled
|
# Newer versions of connector still provide the legacy library when enabled
|
||||||
# but the headers are in a different location.
|
# but the headers are in a different location.
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pdfsam-basic";
|
pname = "pdfsam-basic";
|
||||||
version = "4.1.4";
|
version = "4.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/torakiki/pdfsam/releases/download/v${version}/pdfsam_${version}-1_amd64.deb";
|
url = "https://github.com/torakiki/pdfsam/releases/download/v${version}/pdfsam_${version}-1_amd64.deb";
|
||||||
sha256 = "1gw3cmc8c1xxc55bm71v1dz9x9560lbhx9nkwprarhxlmn0m0zzp";
|
sha256 = "0dhwaadk2qw7avpfnw0mgqv3yhjsm4qm88yyy4w24a3cqzrvb56g";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
|
@ -13,7 +13,7 @@ buildGoModule rec {
|
|||||||
let t = goPackagePath;
|
let t = goPackagePath;
|
||||||
in ''
|
in ''
|
||||||
-ldflags=
|
-ldflags=
|
||||||
-s -X ${t}/pkg/buildinfo.Version=${version}
|
-s -X ${t}/pkg/buildinfo.Version=v${version}
|
||||||
-X ${t}/pkg/buildinfo.GitSHA=${rev}
|
-X ${t}/pkg/buildinfo.GitSHA=${rev}
|
||||||
-X ${t}/pkg/buildDate=unknown
|
-X ${t}/pkg/buildDate=unknown
|
||||||
'';
|
'';
|
||||||
|
@ -167,6 +167,7 @@ let
|
|||||||
hcloud = callPackage ./hcloud {};
|
hcloud = callPackage ./hcloud {};
|
||||||
keycloak = callPackage ./keycloak {};
|
keycloak = callPackage ./keycloak {};
|
||||||
libvirt = callPackage ./libvirt {};
|
libvirt = callPackage ./libvirt {};
|
||||||
|
linuxbox = callPackage ./linuxbox {};
|
||||||
lxd = callPackage ./lxd {};
|
lxd = callPackage ./lxd {};
|
||||||
shell = callPackage ./shell {};
|
shell = callPackage ./shell {};
|
||||||
vpsadmin = callPackage ./vpsadmin {};
|
vpsadmin = callPackage ./vpsadmin {};
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "terraform-provider-linuxbox";
|
||||||
|
version = "0.3.11";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "numtide";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1sxb2iv4dl0rw3v1r7k5dfkyh14nmp19cprqafhb7ncarmvawq39";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "16hp0pv1qpvr34ac1syjci39csvyj3c748inllypjwx76q6rwp7k";
|
||||||
|
|
||||||
|
postInstall = "mv $out/bin/terraform-provider-linuxbox{,_v${version}}";
|
||||||
|
|
||||||
|
passthru.provider-source-address = "registry.terraform.io/numtide/linuxbox";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/numtide/terraform-provider-linuxbox";
|
||||||
|
description = "Basic building block for Seed DevOps";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ zimbatm ];
|
||||||
|
};
|
||||||
|
}
|
@ -25,7 +25,7 @@ let
|
|||||||
else "");
|
else "");
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "signal-desktop";
|
pname = "signal-desktop";
|
||||||
version = "1.37.2"; # Please backport all updates to the stable channel.
|
version = "1.37.3"; # Please backport all updates to the stable channel.
|
||||||
# All releases have a limited lifetime and "expire" 90 days after the release.
|
# All releases have a limited lifetime and "expire" 90 days after the release.
|
||||||
# When releases "expire" the application becomes unusable until an update is
|
# When releases "expire" the application becomes unusable until an update is
|
||||||
# applied. The expiration date for the current release can be extracted with:
|
# applied. The expiration date for the current release can be extracted with:
|
||||||
@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
|
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
|
||||||
sha256 = "0n4g2fh1ibw6fl5vbnnchx2vafasqrq8rl9w0ch7lai665zkxsk3";
|
sha256 = "0gyg67qhrqqn1676m7ki8h9akhn29fh1sxmj0kw5j7dx4cyc4mid";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "ipfs-migrator";
|
pname = "ipfs-migrator";
|
||||||
version = "1.6.3";
|
version = "1.6.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ipfs";
|
owner = "ipfs";
|
||||||
repo = "fs-repo-migrations";
|
repo = "fs-repo-migrations";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "13ah5jk8n3wznvag6dda1ssgpqsdr9pdgvqm9gcsb7zzls89j9x5";
|
sha256 = "004qqcwcw55q13r3sr273dfa5zgxc275pcgqwihzbikl3i168d9f";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "picard-tools";
|
pname = "picard-tools";
|
||||||
version = "2.23.4";
|
version = "2.23.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
|
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
|
||||||
sha256 = "0xg4nbx02a2kckr6p8pqjpv5rmp95bkmglgm1bma6f77s7hkab7q";
|
sha256 = "0aflbsxzc2pcp195bbgwk6zqabq0pszc41s1pw17khn8ywl2jjr2";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -15,9 +15,13 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ gmp ];
|
buildInputs = [ gmp ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure = ''
|
cmakeDir = "../src";
|
||||||
cd src
|
|
||||||
'';
|
# Running the tests is required to build the *.olean files for the core
|
||||||
|
# library.
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace $out/bin/leanpkg \
|
substituteInPlace $out/bin/leanpkg \
|
||||||
|
@ -340,7 +340,7 @@ rec {
|
|||||||
# Tar up the layer and throw it into 'layer.tar'.
|
# Tar up the layer and throw it into 'layer.tar'.
|
||||||
echo "Packing layer..."
|
echo "Packing layer..."
|
||||||
mkdir $out
|
mkdir $out
|
||||||
tarhash=$(tar -C layer --hard-dereference --sort=name --mtime="@$SOURCE_DATE_EPOCH" --owner=${toString uid} --group=${toString gid} -cf - . | tee $out/layer.tar | tarsum)
|
tarhash=$(tar -C layer --hard-dereference --sort=name --mtime="@$SOURCE_DATE_EPOCH" --owner=${toString uid} --group=${toString gid} -cf - . | tee -p $out/layer.tar | tarsum)
|
||||||
|
|
||||||
# Add a 'checksum' field to the JSON, with the value set to the
|
# Add a 'checksum' field to the JSON, with the value set to the
|
||||||
# checksum of the tarball.
|
# checksum of the tarball.
|
||||||
@ -425,7 +425,7 @@ rec {
|
|||||||
echo "Packing layer..."
|
echo "Packing layer..."
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
tarhash=$(tar -C layer --hard-dereference --sort=name --mtime="@$SOURCE_DATE_EPOCH" -cf - . |
|
tarhash=$(tar -C layer --hard-dereference --sort=name --mtime="@$SOURCE_DATE_EPOCH" -cf - . |
|
||||||
tee $out/layer.tar |
|
tee -p $out/layer.tar |
|
||||||
${tarsum}/bin/tarsum)
|
${tarsum}/bin/tarsum)
|
||||||
|
|
||||||
cat ${baseJson} | jshon -s "$tarhash" -i checksum > $out/json
|
cat ${baseJson} | jshon -s "$tarhash" -i checksum > $out/json
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, unzip
|
{ stdenv, lib, fetchurl, iosevka, unzip
|
||||||
, variant ? ""
|
, variant ? ""
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -29,17 +29,11 @@ in stdenv.mkDerivation rec {
|
|||||||
unzip -d $out/share/fonts/truetype $src
|
unzip -d $out/share/fonts/truetype $src
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = iosevka.meta // {
|
||||||
homepage = "https://be5invis.github.io/Iosevka/";
|
maintainers = with lib.maintainers; [
|
||||||
downloadPage = "https://github.com/be5invis/Iosevka/releases";
|
cstrahan
|
||||||
description = ''
|
];
|
||||||
Slender monospace sans-serif and slab-serif typeface inspired by Pragmata
|
|
||||||
Pro, M+ and PF DIN Mono, designed to be the ideal font for programming.
|
|
||||||
'';
|
|
||||||
license = licenses.ofl;
|
|
||||||
platforms = platforms.all;
|
|
||||||
maintainers = [ maintainers.cstrahan ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru.updateScript = ./update.sh;
|
passthru.updateScript = ./update-bin.sh;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, pkgs, fetchFromGitHub, nodejs, nodePackages, remarshal
|
{ stdenv, lib, pkgs, fetchFromGitHub, nodejs, nodePackages, remarshal
|
||||||
, ttfautohint-nox, otfcc
|
, ttfautohint-nox
|
||||||
|
|
||||||
# Custom font set options.
|
# Custom font set options.
|
||||||
# See https://github.com/be5invis/Iosevka#build-your-own-style
|
# See https://github.com/be5invis/Iosevka#build-your-own-style
|
||||||
@ -27,23 +27,30 @@
|
|||||||
|
|
||||||
assert (privateBuildPlan != null) -> set != null;
|
assert (privateBuildPlan != null) -> set != null;
|
||||||
|
|
||||||
|
let
|
||||||
|
# We don't know the attribute name for the Iosevka package as it
|
||||||
|
# changes not when our update script is run (which in turn updates
|
||||||
|
# node-packages.json, but when node-packages/generate.sh is run
|
||||||
|
# (which updates node-packages.nix).
|
||||||
|
#
|
||||||
|
# Doing it this way ensures that the package can always be built,
|
||||||
|
# although possibly an older version than ioseva-bin.
|
||||||
|
nodeIosevka = (
|
||||||
|
lib.findSingle
|
||||||
|
(drv: drv ? packageName && drv.packageName == "iosevka")
|
||||||
|
(throw "no 'iosevka' package found in nodePackages")
|
||||||
|
(throw "multiple 'iosevka' packages found in nodePackages")
|
||||||
|
(lib.attrValues nodePackages)
|
||||||
|
).override (drv: { dontNpmInstall = true; });
|
||||||
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = if set != null then "iosevka-${set}" else "iosevka";
|
pname = if set != null then "iosevka-${set}" else "iosevka";
|
||||||
|
inherit (nodeIosevka) version src;
|
||||||
version = "3.2.2";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "be5invis";
|
|
||||||
repo = "Iosevka";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "1wbnp6gr3ywvspwk6i0jn68zwjmsd38arn4n2dkh7mdkrmvah81k";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
nodejs
|
nodejs
|
||||||
nodePackages."iosevka-build-deps-../../data/fonts/iosevka"
|
nodeIosevka
|
||||||
remarshal
|
remarshal
|
||||||
otfcc
|
|
||||||
ttfautohint-nox
|
ttfautohint-nox
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -61,9 +68,7 @@ stdenv.mkDerivation rec {
|
|||||||
echo -e "\n" >> parameters.toml
|
echo -e "\n" >> parameters.toml
|
||||||
cat "$extraParametersPath" >> parameters.toml
|
cat "$extraParametersPath" >> parameters.toml
|
||||||
''}
|
''}
|
||||||
ln -s ${
|
ln -s ${nodeIosevka}/lib/node_modules/iosevka/node_modules .
|
||||||
nodePackages."iosevka-build-deps-../../data/fonts/iosevka"
|
|
||||||
}/lib/node_modules/iosevka-build-deps/node_modules .
|
|
||||||
runHook postConfigure
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -74,13 +79,19 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
fontdir="$out/share/fonts/truetype"
|
fontdir="$out/share/fonts/truetype"
|
||||||
install -d "$fontdir"
|
install -d "$fontdir"
|
||||||
install "dist/$pname/ttf"/* "$fontdir"
|
install "dist/$pname/ttf"/* "$fontdir"
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = ./update-default.sh;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://be5invis.github.io/Iosevka";
|
homepage = "https://be5invis.github.io/Iosevka";
|
||||||
downloadPage = "https://github.com/be5invis/Iosevka/releases";
|
downloadPage = "https://github.com/be5invis/Iosevka/releases";
|
||||||
@ -96,6 +107,7 @@ stdenv.mkDerivation rec {
|
|||||||
ttuegel
|
ttuegel
|
||||||
babariviere
|
babariviere
|
||||||
rileyinman
|
rileyinman
|
||||||
|
AluisioASG
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "iosevka-build-deps",
|
|
||||||
"version": "3.2.2",
|
|
||||||
"scripts": {
|
|
||||||
"build": "verda -f verdafile.js"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@iarna/toml": "^2.2.5",
|
|
||||||
"cldr": "^5.5.4",
|
|
||||||
"ejs": "^3.1.3",
|
|
||||||
"fs-extra": "^9.0.0",
|
|
||||||
"object-assign": "^4.1.1",
|
|
||||||
"otfcc-ttcize": "^0.10.2",
|
|
||||||
"patel": "^0.33.1",
|
|
||||||
"prettier": "^2.0.5",
|
|
||||||
"semver": "^7.1.3",
|
|
||||||
"spiro": "^2.0.0",
|
|
||||||
"stylus": "^0.54.7",
|
|
||||||
"topsort": "^0.0.2",
|
|
||||||
"ttf2woff": "^2.0.1",
|
|
||||||
"ttf2woff2": "^3.0.0",
|
|
||||||
"typo-geom": "^0.8.0",
|
|
||||||
"unicode-13.0.0": "^0.8.0",
|
|
||||||
"unorm": "^1.6.0",
|
|
||||||
"verda": "^1.0.1",
|
|
||||||
"which": "^2.0.2"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +1,12 @@
|
|||||||
#! /usr/bin/env nix-shell
|
#! /usr/bin/env nix-shell
|
||||||
#! nix-shell -i bash -p curl jq
|
#! nix-shell -i bash -p curl jq
|
||||||
|
|
||||||
set -e
|
set -euo pipefail
|
||||||
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
release=$(curl -s https://api.github.com/repos/be5invis/Iosevka/releases/latest)
|
release=$(curl -s https://api.github.com/repos/be5invis/Iosevka/releases/latest)
|
||||||
|
|
||||||
oldVersion=$(nix-instantiate --eval -E 'with import ./. {}; lib.getVersion iosevka-bin' | tr -d '"')
|
oldVersion=$(nix-instantiate --eval -E 'with import ../../../.. {}; lib.getVersion iosevka-bin' | tr -d '"')
|
||||||
version=$(echo "$release" | jq -r .tag_name | tr -d v)
|
version=$(echo "$release" | jq -r .tag_name | tr -d v)
|
||||||
|
|
||||||
if test "$oldVersion" = "$version"; then
|
if test "$oldVersion" = "$version"; then
|
||||||
@ -13,8 +14,7 @@ if test "$oldVersion" = "$version"; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
file=$(nix-instantiate --eval -A iosevka-bin.meta.position | sed -r 's/^"(.*):[0-9]+"$/\1/')
|
sed -i "s/$oldVersion/$version/" bin.nix
|
||||||
sed -i "s/$oldVersion/$version/" "$file"
|
|
||||||
|
|
||||||
{
|
{
|
||||||
echo '# This file was autogenerated. DO NOT EDIT!'
|
echo '# This file was autogenerated. DO NOT EDIT!'
|
||||||
@ -25,4 +25,4 @@ sed -i "s/$oldVersion/$version/" "$file"
|
|||||||
$(nix-prefetch-url "https://github.com/be5invis/Iosevka/releases/download/v$version/$asset")
|
$(nix-prefetch-url "https://github.com/be5invis/Iosevka/releases/download/v$version/$asset")
|
||||||
done
|
done
|
||||||
echo '}'
|
echo '}'
|
||||||
} >$(dirname "$file")/variants.nix
|
} >variants.nix
|
21
pkgs/data/fonts/iosevka/update-default.sh
Executable file
21
pkgs/data/fonts/iosevka/update-default.sh
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env nix-shell
|
||||||
|
#!nix-shell -i bash -p common-updater-scripts coreutils gawk replace
|
||||||
|
set -euo pipefail
|
||||||
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
|
nixpkgs=../../../..
|
||||||
|
repo=https://github.com/be5invis/Iosevka
|
||||||
|
|
||||||
|
# Discover the latest version.
|
||||||
|
current_version=$(nix-instantiate "$nixpkgs" --eval --strict -A iosevka.version | tr -d '"')
|
||||||
|
new_version=$(list-git-tags "$repo" | sort --reverse --version-sort | awk 'match($0, /^v([0-9.]+)$/, m) { print m[1]; exit; }')
|
||||||
|
if [[ "$new_version" == "$current_version" ]]; then
|
||||||
|
echo "iosevka: no update found"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Update the source package in nodePackages.
|
||||||
|
current_source="$repo/archive/v$current_version.tar.gz"
|
||||||
|
new_source="$repo/archive/v$new_version.tar.gz"
|
||||||
|
replace-literal -ef "$current_source" "$new_source" ../../../development/node-packages/node-packages.json
|
||||||
|
echo "iosevka: $current_version -> $new_version (after nodePackages update)"
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Flat Design theme for GTK based desktop environments";
|
description = "Flat Design theme for GTK based desktop environments";
|
||||||
homepage = "https://github.com/vinceliuice/Canta-theme";
|
homepage = "https://github.com/vinceliuice/Canta-theme";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.linux; # numix-icon-theme-circle unavailable in darwin
|
||||||
maintainers = [ maintainers.romildo ];
|
maintainers = [ maintainers.romildo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
mkDerivation, lib,
|
mkDerivation, lib, fetchpatch,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
|
|
||||||
epoxy,libICE, libSM, libinput, libxkbcommon, udev, wayland, xcb-util-cursor,
|
epoxy,libICE, libSM, libinput, libxkbcommon, udev, wayland, xcb-util-cursor,
|
||||||
@ -37,6 +37,11 @@ mkDerivation {
|
|||||||
patches = [
|
patches = [
|
||||||
./0001-follow-symlinks.patch
|
./0001-follow-symlinks.patch
|
||||||
./0002-xwayland.patch
|
./0002-xwayland.patch
|
||||||
|
(fetchpatch { # included in >= 5.18.6
|
||||||
|
name = "EGL_TEXTURE_Y_XUXV_WL.diff";
|
||||||
|
url = "https://github.com/KDE/kwin/commit/2c76cc478.diff";
|
||||||
|
sha256 = "1ywaky05h5j1x758q3yhp3ap45ispffghyxynqz5lybl5n6yyxhy";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
CXXFLAGS = [
|
CXXFLAGS = [
|
||||||
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
|
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
|
||||||
|
@ -163,7 +163,7 @@ in stdenv.mkDerivation (rec {
|
|||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
homepage = "https://llvm.org/";
|
homepage = "https://llvm.org/";
|
||||||
license = stdenv.lib.licenses.ncsa;
|
license = stdenv.lib.licenses.ncsa;
|
||||||
maintainers = with stdenv.lib.maintainers; [ lovek323 raskin dtzWill ];
|
maintainers = with stdenv.lib.maintainers; [ lovek323 raskin dtzWill primeos ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
};
|
};
|
||||||
} // stdenv.lib.optionalAttrs enableManpages {
|
} // stdenv.lib.optionalAttrs enableManpages {
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{ stdenv, fetchFromGitHub, callPackage, wrapCCWith }:
|
{ stdenv, fetchFromGitHub, callPackage, wrapCCWith }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.8.0";
|
version = "3.9.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "llvm-project";
|
repo = "llvm-project";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
sha256 = "19771lxqbm7yhsy06s4bk7amiryrfdbc0jawribw063l7n599xs6";
|
sha256 = "01ljx6mhix3z2pgddgn0ymhrsbigs1nqlz3kkwkr6p2igprrly9f";
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
clang = wrapCCWith rec {
|
clang = wrapCCWith rec {
|
||||||
|
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
moveToOutput include "$dev"
|
moveToOutput include "$dev"
|
||||||
moveToOutput lib "$dev"
|
moveToOutput lib "$dev"
|
||||||
|
|
||||||
|
# Fix lld binary path for CMake.
|
||||||
|
substituteInPlace "$dev/lib/cmake/lld/LLDTargets-release.cmake" \
|
||||||
|
--replace "\''${_IMPORT_PREFIX}/bin/lld" "$out/bin/lld"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
let
|
let
|
||||||
major = "11";
|
major = "11";
|
||||||
minor = "0";
|
minor = "0";
|
||||||
update = "8";
|
update = "9";
|
||||||
build = "10";
|
build = "11";
|
||||||
|
|
||||||
openjdk = stdenv.mkDerivation rec {
|
openjdk = stdenv.mkDerivation rec {
|
||||||
pname = "openjdk" + lib.optionalString headless "-headless";
|
pname = "openjdk" + lib.optionalString headless "-headless";
|
||||||
@ -20,7 +20,7 @@ let
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://hg.openjdk.java.net/jdk-updates/jdk${major}u/archive/jdk-${version}.tar.gz";
|
url = "http://hg.openjdk.java.net/jdk-updates/jdk${major}u/archive/jdk-${version}.tar.gz";
|
||||||
sha256 = "1sdncn1bk4h8xxfnmrl1125maqy6mc0v0y1dyifwsa04wasj9hbz";
|
sha256 = "fc2ee2ee5822f2440e66114c8fa76888fea7ddd351282940c222d34b5f871858";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoconf ];
|
nativeBuildInputs = [ pkgconfig autoconf ];
|
||||||
|
@ -19,8 +19,8 @@ let
|
|||||||
aarch64-linux = "aarch64";
|
aarch64-linux = "aarch64";
|
||||||
}.${stdenv.system} or (throw "Unsupported platform");
|
}.${stdenv.system} or (throw "Unsupported platform");
|
||||||
|
|
||||||
update = "265";
|
update = "272";
|
||||||
build = if stdenv.isAarch64 then "b01" else "ga";
|
build = if stdenv.isAarch64 then "b10" else "b10";
|
||||||
baseurl = if stdenv.isAarch64 then "https://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah"
|
baseurl = if stdenv.isAarch64 then "https://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah"
|
||||||
else "https://hg.openjdk.java.net/jdk8u/jdk8u";
|
else "https://hg.openjdk.java.net/jdk8u/jdk8u";
|
||||||
repover = lib.optionalString stdenv.isAarch64 "aarch64-shenandoah-"
|
repover = lib.optionalString stdenv.isAarch64 "aarch64-shenandoah-"
|
||||||
@ -29,50 +29,50 @@ let
|
|||||||
jdk8 = fetchurl {
|
jdk8 = fetchurl {
|
||||||
name = "jdk8-${repover}.tar.gz";
|
name = "jdk8-${repover}.tar.gz";
|
||||||
url = "${baseurl}/archive/${repover}.tar.gz";
|
url = "${baseurl}/archive/${repover}.tar.gz";
|
||||||
sha256 = if stdenv.isAarch64 then "1a2adw51af064rzlngsdlhs9gl47h3lv6dzvr8swqgl2n93nlbxa"
|
sha256 = if stdenv.isAarch64 then "db98897d6fddce85996a9b0daf4352abce4578be0b51eada41702ee1469dd415"
|
||||||
else "02j1nbf3rxl581fqzc6i3ri6wwxx1dhkmj5klkh5xlp8dkhclr30";
|
else "8f0e8324d3500432e8ed642b4cc7dff90a617dbb2a18a94c07c1020d32f93b7a";
|
||||||
};
|
};
|
||||||
langtools = fetchurl {
|
langtools = fetchurl {
|
||||||
name = "langtools-${repover}.tar.gz";
|
name = "langtools-${repover}.tar.gz";
|
||||||
url = "${baseurl}/langtools/archive/${repover}.tar.gz";
|
url = "${baseurl}/langtools/archive/${repover}.tar.gz";
|
||||||
sha256 = if stdenv.isAarch64 then "0hfrbz7421s2barfrfp0fvmh45iksw2zx1z4ykjg3giv8zbmswfm"
|
sha256 = if stdenv.isAarch64 then "6544c1cc455844bbbb3d2914ffc716b1cee7f19e6aa223764d41a7cddc41322c"
|
||||||
else "1r2adp7sn3y45rb5h059qygz18bgmkqr2g2jc9mpzskl5vwsqiw4";
|
else "632417b0b067c929eda6958341352e29c5810056a5fec138641eb3503f9635b7";
|
||||||
};
|
};
|
||||||
hotspot = fetchurl {
|
hotspot = fetchurl {
|
||||||
name = "hotspot-${repover}.tar.gz";
|
name = "hotspot-${repover}.tar.gz";
|
||||||
url = "${baseurl}/hotspot/archive/${repover}.tar.gz";
|
url = "${baseurl}/hotspot/archive/${repover}.tar.gz";
|
||||||
sha256 = if stdenv.isAarch64 then "0g5h74snfl2dj2xwlvb5hgfbqmnbhxax68axadz11mq7r2bhd0lk"
|
sha256 = if stdenv.isAarch64 then "37abb89e66641607dc6f372946bfc6bd413f23fec0b9c3baf75f41ce517e21d8"
|
||||||
else "10xj8qr499r6nla74bjh4dmq7pkj63iircijk1wyv9xz5v777pcc";
|
else "2142f3b769800a955613b51ffe192551bab1db95b0c219900cf34febc6f20245";
|
||||||
};
|
};
|
||||||
corba = fetchurl {
|
corba = fetchurl {
|
||||||
name = "corba-${repover}.tar.gz";
|
name = "corba-${repover}.tar.gz";
|
||||||
url = "${baseurl}/corba/archive/${repover}.tar.gz";
|
url = "${baseurl}/corba/archive/${repover}.tar.gz";
|
||||||
sha256 = if stdenv.isAarch64 then "0wfqrpr5m4gnavgsl6zcy2l3c7sgn3yl7yhp2crh9icp44ld2cj9"
|
sha256 = if stdenv.isAarch64 then "5da82f7b4aceff32e02d2f559033e3b62b9509d79f1a6891af871502e1d125b1"
|
||||||
else "0lk4jimrafgphffsj5yyyhl6pib0y5xxqcr09bgr2w8sjkp4s04s";
|
else "320098d64c843c1ff2ae62579817f9fb4a81772bc0313a543ce68976ad7a6d98";
|
||||||
};
|
};
|
||||||
jdk = fetchurl {
|
jdk = fetchurl {
|
||||||
name = "jdk-${repover}.tar.gz";
|
name = "jdk-${repover}.tar.gz";
|
||||||
url = "${baseurl}/jdk/archive/${repover}.tar.gz";
|
url = "${baseurl}/jdk/archive/${repover}.tar.gz";
|
||||||
sha256 = if stdenv.isAarch64 then "0ss49bv2dzb9vkabpv1ag04wli5722p0a8gqkzqmzw4nj67snfqw"
|
sha256 = if stdenv.isAarch64 then "ee613296d823605dcd1a0fe2f89b4c7393bdb8ae5f2659f48f5cbc0012bb1a47"
|
||||||
else "0anbp4vq8bzhqsqxlgjd0dx0irf57x4i5ddbpljl36vy2pi9xsm7";
|
else "957c24fc58ac723c8cd808ab60c77d7853710148944c8b9a59f470c4c809e1a0";
|
||||||
};
|
};
|
||||||
jaxws = fetchurl {
|
jaxws = fetchurl {
|
||||||
name = "jaxws-${repover}.tar.gz";
|
name = "jaxws-${repover}.tar.gz";
|
||||||
url = "${baseurl}/jaxws/archive/${repover}.tar.gz";
|
url = "${baseurl}/jaxws/archive/${repover}.tar.gz";
|
||||||
sha256 = if stdenv.isAarch64 then "1nwn6mz38app6pk5f1x3vya1x9qfckyl7z6bi62k6mj2c72ikfh5"
|
sha256 = if stdenv.isAarch64 then "7c426b85f0d378125fa46e6d1b25ddc27ad29d93514d38c5935c84fc540b26ce"
|
||||||
else "113d5nx2mp30m6xy2m2wh0nixk45q8abimlszkiq09w1w1ckzpba";
|
else "4efb0ee143dfe86c8ee06db2429fb81a0c8c65af9ea8fc18daa05148c8a1162f";
|
||||||
};
|
};
|
||||||
jaxp = fetchurl {
|
jaxp = fetchurl {
|
||||||
name = "jaxp-${repover}.tar.gz";
|
name = "jaxp-${repover}.tar.gz";
|
||||||
url = "${baseurl}/jaxp/archive/${repover}.tar.gz";
|
url = "${baseurl}/jaxp/archive/${repover}.tar.gz";
|
||||||
sha256 = if stdenv.isAarch64 then "1rhgbwvp7xls7r3f5jm69dw7x521vamchv917dwiz1byvm2bwn7s"
|
sha256 = if stdenv.isAarch64 then "928e363877afa7e0ad0c350bb18be6ab056b23708c0624a0bd7f01c4106c2a14"
|
||||||
else "0nvqidjssmamcrchq15cg3lfv5v3cnrw05a4h20xmhlpgb9im0vj";
|
else "25a651c670d5b036042f7244617a3eb11fec80c07745c1c8181a1cdebeda3d8e";
|
||||||
};
|
};
|
||||||
nashorn = fetchurl {
|
nashorn = fetchurl {
|
||||||
name = "nashorn-${repover}.tar.gz";
|
name = "nashorn-${repover}.tar.gz";
|
||||||
url = "${baseurl}/nashorn/archive/${repover}.tar.gz";
|
url = "${baseurl}/nashorn/archive/${repover}.tar.gz";
|
||||||
sha256 = if stdenv.isAarch64 then "14gp8q6jw1hq2wlmcalfwn1kgmnq5w9svqnbjww20f25phxkicij"
|
sha256 = if stdenv.isAarch64 then "f060e08c5924457d4f5047c02ad6a987bdbdcd1cea53d2208322073ba4f398c3"
|
||||||
else "0fm9ldps7ayk7r3wjqiyxp1s6hvi242kl7f92ydkmlxqyfajx60a";
|
else "a28b41d86f0c87ceacd2b686dd31c9bf391d851b1b5187a49ef5e565fc2cbc84";
|
||||||
};
|
};
|
||||||
openjdk8 = stdenv.mkDerivation {
|
openjdk8 = stdenv.mkDerivation {
|
||||||
pname = "openjdk" + lib.optionalString headless "-headless";
|
pname = "openjdk" + lib.optionalString headless "-headless";
|
||||||
|
@ -32,6 +32,7 @@ import ./default.nix {
|
|||||||
armv7-unknown-linux-gnueabihf = "d44294732cf268ea84908f1135f574ab9489132a332eaa9d5bda547374b15d54";
|
armv7-unknown-linux-gnueabihf = "d44294732cf268ea84908f1135f574ab9489132a332eaa9d5bda547374b15d54";
|
||||||
aarch64-unknown-linux-gnu = "a2d74ebeec0b6778026b6c37814cdc91d14db3b0d8b6d69d036216f4d9cf7e49";
|
aarch64-unknown-linux-gnu = "a2d74ebeec0b6778026b6c37814cdc91d14db3b0d8b6d69d036216f4d9cf7e49";
|
||||||
x86_64-apple-darwin = "a5464e7bcbce9647607904a4afa8362382f1fc55d39e7bbaf4483ac00eb5d56a";
|
x86_64-apple-darwin = "a5464e7bcbce9647607904a4afa8362382f1fc55d39e7bbaf4483ac00eb5d56a";
|
||||||
|
powerpc64le-unknown-linux-gnu = "22deeca259459db31065af7c862fcab7fbfb623200520c65002ed2ba93d87ad2";
|
||||||
};
|
};
|
||||||
|
|
||||||
selectRustPackage = pkgs: pkgs.rust_1_45;
|
selectRustPackage = pkgs: pkgs.rust_1_45;
|
||||||
|
@ -34,6 +34,7 @@ import ./default.nix {
|
|||||||
armv7-unknown-linux-gnueabihf = "7c0640879d7f2c38db60352e3c0f09e3fc6fa3bac6ca8f22cbccb1eb5e950121";
|
armv7-unknown-linux-gnueabihf = "7c0640879d7f2c38db60352e3c0f09e3fc6fa3bac6ca8f22cbccb1eb5e950121";
|
||||||
aarch64-unknown-linux-gnu = "f0c6d630f3dedb3db69d69ed9f833aa6b472363096f5164f1068c7001ca42aeb";
|
aarch64-unknown-linux-gnu = "f0c6d630f3dedb3db69d69ed9f833aa6b472363096f5164f1068c7001ca42aeb";
|
||||||
x86_64-apple-darwin = "82d61582a3772932432a99789c3b3bd4abe6baca339e355048ca9efb9ea5b4db";
|
x86_64-apple-darwin = "82d61582a3772932432a99789c3b3bd4abe6baca339e355048ca9efb9ea5b4db";
|
||||||
|
powerpc64le-unknown-linux-gnu = "89e2f4761d257f017a4b6aa427f36ac0603195546fa2cfded8c899789832941c";
|
||||||
};
|
};
|
||||||
|
|
||||||
selectRustPackage = pkgs: pkgs.rust_1_47;
|
selectRustPackage = pkgs: pkgs.rust_1_47;
|
||||||
|
@ -14,6 +14,7 @@ PLATFORMS=(
|
|||||||
armv7-unknown-linux-gnueabihf
|
armv7-unknown-linux-gnueabihf
|
||||||
aarch64-unknown-linux-gnu
|
aarch64-unknown-linux-gnu
|
||||||
x86_64-apple-darwin
|
x86_64-apple-darwin
|
||||||
|
powerpc64le-unknown-linux-gnu
|
||||||
)
|
)
|
||||||
BASEURL=https://static.rust-lang.org/dist
|
BASEURL=https://static.rust-lang.org/dist
|
||||||
VERSION=${1:-}
|
VERSION=${1:-}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, graalvm8, glibcLocales }:
|
{ stdenv, fetchurl, graalvm8-ce, glibcLocales }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
nativeBuildInputs = [ graalvm8 glibcLocales ];
|
nativeBuildInputs = [ graalvm8-ce glibcLocales ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
native-image \
|
native-image \
|
||||||
@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
homepage = "https://github.com/borkdude/babashka";
|
homepage = "https://github.com/borkdude/babashka";
|
||||||
license = licenses.epl10;
|
license = licenses.epl10;
|
||||||
platforms = graalvm8.meta.platforms;
|
platforms = graalvm8-ce.meta.platforms;
|
||||||
maintainers = with maintainers; [ bandresen bhougland DerGuteMoritz jlesquembre ];
|
maintainers = with maintainers; [ bandresen bhougland DerGuteMoritz jlesquembre ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -19,9 +19,6 @@ in
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
# passthru to prevent rebuild but allow pname and version
|
|
||||||
passthru = { inherit pname version; };
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gtk+/2.24/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gtk+/2.24/${pname}-${version}.tar.xz";
|
||||||
sha256 = "b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e";
|
sha256 = "b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e";
|
||||||
@ -78,6 +75,8 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
# passthru to prevent rebuild but allow pname and version
|
||||||
|
inherit pname version;
|
||||||
gtkExeEnvPostBuild = ''
|
gtkExeEnvPostBuild = ''
|
||||||
rm $out/lib/gtk-2.0/2.10.0/immodules.cache
|
rm $out/lib/gtk-2.0/2.10.0/immodules.cache
|
||||||
$out/bin/gtk-query-immodules-2.0 $out/lib/gtk-2.0/2.10.0/immodules/*.so > $out/lib/gtk-2.0/2.10.0/immodules.cache
|
$out/bin/gtk-query-immodules-2.0 $out/lib/gtk-2.0/2.10.0/immodules/*.so > $out/lib/gtk-2.0/2.10.0/immodules.cache
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "intel-media-driver";
|
pname = "intel-media-driver";
|
||||||
version = "20.3.0";
|
version = "20.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intel";
|
owner = "intel";
|
||||||
repo = "media-driver";
|
repo = "media-driver";
|
||||||
rev = "intel-media-${version}";
|
rev = "intel-media-${version}";
|
||||||
sha256 = "0dy30g32iqyygap3cm1idbhwnm1p3qvf2j2nzcr9n5im287h5gcr";
|
sha256 = "0nah3h3s6hqbgz1wqp5j1grzq0q939wbh4b9d27dmb4wy6ma41sl";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
From 2cc80dc06ea42087788cf27b31821ffa99a22f89 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Johannes Lode <johannes.lode@dynainstruments.com>
|
||||||
|
Date: Thu, 14 Nov 2019 10:44:00 +0100
|
||||||
|
Subject: [PATCH] Drop AC_FUNC_MALLOC and _REALLOC and check for them as
|
||||||
|
regular functions.
|
||||||
|
|
||||||
|
While cross-compiling there occurred "undefined reference to
|
||||||
|
`rpl_malloc'", the suggested change fixes the problem.
|
||||||
|
|
||||||
|
Tested for native X86_64 and armv7a-unknown-linux-gnueabihf.
|
||||||
|
---
|
||||||
|
configure.ac | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 008499d..b492dc4 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -81,7 +81,8 @@ AC_DEFUN([HEADER_NOT_FOUND_CXX],
|
||||||
|
|
||||||
|
# This is always checked (library needs this)
|
||||||
|
AC_HEADER_STDC
|
||||||
|
-AC_FUNC_MALLOC
|
||||||
|
+# AC_FUNC_MALLOC -- does not work while cross-compiling
|
||||||
|
+AC_CHECK_FUNC([malloc realloc])
|
||||||
|
AC_CHECK_FUNC([ioctl], [], [FUNC_NOT_FOUND_LIB([ioctl])])
|
||||||
|
AC_CHECK_FUNC([asprintf], [], [FUNC_NOT_FOUND_LIB([asprintf])])
|
||||||
|
AC_CHECK_FUNC([scandir], [], [FUNC_NOT_FOUND_LIB([scandir])])
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0xcwrg4p4w925lijmz4ci4500z83kj5gs1n501q4vhi54bdzn2k5";
|
sha256 = "0xcwrg4p4w925lijmz4ci4500z83kj5gs1n501q4vhi54bdzn2k5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# cross compiling fix
|
||||||
|
# https://github.com/brgl/libgpiod/pull/45
|
||||||
|
./0001-Drop-AC_FUNC_MALLOC-and-_REALLOC-and-check-for-them-.patch
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ kmod ] ++ lib.optionals enablePython [ python3 ncurses ];
|
buildInputs = [ kmod ] ++ lib.optionals enablePython [ python3 ncurses ];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoconf-archive
|
autoconf-archive
|
||||||
|
@ -91,7 +91,7 @@ stdenv.mkDerivation rec {
|
|||||||
runHook preInstallCheck
|
runHook preInstallCheck
|
||||||
|
|
||||||
export TZDIR=${tzdata}/share/zoneinfo
|
export TZDIR=${tzdata}/share/zoneinfo
|
||||||
ctest --output-on-failure --exclude-regex 'timezones|libical-glib-array|libical-glib-component|libical-glib-timezone'
|
ctest --output-on-failure --exclude-regex 'regression|recur|timezones|libical-glib-array|libical-glib-component|libical-glib-timezone'
|
||||||
|
|
||||||
runHook postInstallCheck
|
runHook postInstallCheck
|
||||||
'';
|
'';
|
||||||
|
@ -14,8 +14,7 @@ assert (!blas.isILP64) && (!lapack.isILP64);
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "linbox";
|
pname = "linbox";
|
||||||
version = "1.6.3";
|
version = "1.6.3"; # TODO: Check postPatch script on update
|
||||||
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linbox-team";
|
owner = "linbox-team";
|
||||||
@ -36,6 +35,20 @@ stdenv.mkDerivation rec {
|
|||||||
fflas-ffpack
|
fflas-ffpack
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Remove inappropriate `const &` qualifiers on data members that can be
|
||||||
|
# modified via member functions.
|
||||||
|
# See also: https://github.com/linbox-team/linbox/pull/256
|
||||||
|
./patches/linbox-pr256-part2.patch # TODO: Remove on 1.7.0 update
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Remove @LINBOXSAGE_LIBS@ that is actually undefined.
|
||||||
|
# See also: https://github.com/linbox-team/linbox/pull/249
|
||||||
|
# TODO: Remove on 1.7.0 update
|
||||||
|
find . -type f -exec sed -e 's/@LINBOXSAGE_LIBS@//' -i {} \;
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-blas-libs=-lblas"
|
"--with-blas-libs=-lblas"
|
||||||
"--disable-optimization"
|
"--disable-optimization"
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
--- a/linbox/algorithms/det-rational.h
|
||||||
|
+++ b/linbox/algorithms/det-rational.h
|
||||||
|
@@ -79,8 +79,8 @@
|
||||||
|
struct MyRationalModularDet {
|
||||||
|
const Blackbox &A;
|
||||||
|
const MyMethod &M;
|
||||||
|
- const Integer &mul;//multiplicative prec;
|
||||||
|
- const Integer ÷
|
||||||
|
+ Integer mul;//multiplicative prec;
|
||||||
|
+ Integer div;
|
||||||
|
|
||||||
|
MyRationalModularDet(const Blackbox& b, const MyMethod& n,
|
||||||
|
const Integer & p1, const Integer & p2) :
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "olm";
|
pname = "olm";
|
||||||
version = "3.1.5";
|
version = "3.2.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://matrix.org/git/olm/-/archive/${version}/${pname}-${version}.tar.gz";
|
url = "https://matrix.org/git/olm/-/archive/${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "15l6cf029ghfk5bf8ii6nyy86gc90ji8n5hspjhj1xmzmk61xb4j";
|
sha256 = "0iacbi9iibhzifh1bk6bi5xin557lvqmbf4ccsb8drj50dbxjiyr";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "precice";
|
pname = "precice";
|
||||||
version = "2.1.0";
|
version = "2.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "precice";
|
owner = "precice";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1268dz39sx3gygnm7vpg59k1wdhy6rhf72i8i0kz4jckll0s9102";
|
sha256 = "180db4nlir2409wzdnsc1bkyrllnki8d551qbm1rg82zkz3vdmqg";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rocclr";
|
pname = "rocclr";
|
||||||
version = "3.8.0";
|
version = "3.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ROCm-Developer-Tools";
|
owner = "ROCm-Developer-Tools";
|
||||||
repo = "ROCclr";
|
repo = "ROCclr";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
sha256 = "05vh70qh6jb7038b1rcmz24bg4an0nw98bv2vn3jcyygj4dr3fmf";
|
sha256 = "193pd6lbnfjrmqsrlvkpadxxi908a9r0c41y8x1bkbbaviad39q0";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake rocm-cmake ];
|
nativeBuildInputs = [ cmake rocm-cmake ];
|
||||||
@ -46,7 +46,10 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
|
# Work around broken cmake files
|
||||||
ln -s $out/include/compiler/lib/include/* $out/include
|
ln -s $out/include/compiler/lib/include/* $out/include
|
||||||
|
ln -s $out/include/elf/elfio $out/include/elfio
|
||||||
|
|
||||||
substituteInPlace $out/lib/cmake/rocclr/ROCclrConfig.cmake \
|
substituteInPlace $out/lib/cmake/rocclr/ROCclrConfig.cmake \
|
||||||
--replace "/build/source/build" "$out"
|
--replace "/build/source/build" "$out"
|
||||||
'';
|
'';
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rocm-comgr";
|
pname = "rocm-comgr";
|
||||||
version = "3.8.0";
|
version = "3.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "ROCm-CompilerSupport";
|
repo = "ROCm-CompilerSupport";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
sha256 = "05gs282kqnz7lf3b8r1908zk05dbzdx02ar2ns2900fas1l27qc1";
|
sha256 = "1lwgr6x2b6jisc2nxvr9m24zrc7f2vcgrbkj9sf2blpha61xgk14";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "source/lib/comgr";
|
sourceRoot = "source/lib/comgr";
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rocm-device-libs";
|
pname = "rocm-device-libs";
|
||||||
version = "3.8.0";
|
version = "3.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "ROCm-Device-Libs";
|
repo = "ROCm-Device-Libs";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
sha256 = "0kgsp22rbg09q09n36j1vfs9v8x0liap3ycnqyn1g7dxy38kqmi4";
|
sha256 = "1nil0nhlkszslgvqhim5vmcp3flfafydviq0zk7db8i6z17kq090";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rocm-opencl-runtime";
|
pname = "rocm-opencl-runtime";
|
||||||
version = "3.8.0";
|
version = "3.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "ROCm-OpenCL-Runtime";
|
repo = "ROCm-OpenCL-Runtime";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
sha256 = "07zc6ww92nsq1z0gcp1sfhqsk0jkrjnv9cnw5akh471f7n7jiznm";
|
sha256 = "1qsgswm1wl2wknhgy6c9l6dnj0z1kwddimdzjmvjcpyxq987y2gv";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake rocm-cmake ];
|
nativeBuildInputs = [ cmake rocm-cmake ];
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rocm-runtime";
|
pname = "rocm-runtime";
|
||||||
version = "3.8.0";
|
version = "3.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "ROCR-Runtime";
|
repo = "ROCR-Runtime";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
sha256 = "1lm4cbx1d727zll85vjc1kykc72mk82nfhyyhjljv82gd4mnz00c";
|
sha256 = "034qbqznfligg4lwd95zmqa7lwcda720zbfv066nqvarlcml0kr6";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "source/src";
|
sourceRoot = "source/src";
|
||||||
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ clang-unwrapped elfutils llvm ];
|
buildInputs = [ clang-unwrapped elfutils llvm ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBITCODE_DIR=${rocm-device-libs}/lib"
|
"-DBITCODE_DIR=${rocm-device-libs}/amdgcn/bitcode"
|
||||||
"-DCMAKE_PREFIX_PATH=${rocm-thunk}"
|
"-DCMAKE_PREFIX_PATH=${rocm-thunk}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rocm-thunk";
|
pname = "rocm-thunk";
|
||||||
version = "3.8.0";
|
version = "3.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "ROCT-Thunk-Interface";
|
repo = "ROCT-Thunk-Interface";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
sha256 = "00xrwxndah2frdggqniz1j4s46ha3dav8qlnxm3gk9m4b80m774k";
|
sha256 = "0xkp50ik7miz9whywnmiiqiamc7g8flfr9g8c02kxr0cay1in6cj";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
, "indium"
|
, "indium"
|
||||||
, "insect"
|
, "insect"
|
||||||
, "ionic"
|
, "ionic"
|
||||||
, { "iosevka-build-deps": "../../data/fonts/iosevka" }
|
, {"iosevka": "https://github.com/be5invis/Iosevka/archive/v3.7.1.tar.gz"}
|
||||||
, "jake"
|
, "jake"
|
||||||
, "javascript-typescript-langserver"
|
, "javascript-typescript-langserver"
|
||||||
, "joplin"
|
, "joplin"
|
||||||
|
1050
pkgs/development/node-packages/node-packages.nix
generated
1050
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,4 @@
|
|||||||
{ lib, fetchurl, buildDunePackage, pkg-config, gsl
|
{ stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
|
||||||
, dune-configurator
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "gsl";
|
pname = "gsl";
|
||||||
@ -14,11 +12,12 @@ buildDunePackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ dune-configurator gsl pkg-config ];
|
buildInputs = [ dune-configurator gsl pkg-config ];
|
||||||
|
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://mmottl.github.io/gsl-ocaml/";
|
homepage = "https://mmottl.github.io/gsl-ocaml/";
|
||||||
description = "OCaml bindings to the GNU Scientific Library";
|
description = "OCaml bindings to the GNU Scientific Library";
|
||||||
license = lib.licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = with maintainers; [ vbgl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "event";
|
pname = "event";
|
||||||
|
|
||||||
version = "2.5.7";
|
version = "3.0.0";
|
||||||
sha256 = "0jkzcm5mmbg101jc7p3aws9qb6l6xbxkfff82mrf7s5fn7xd44im";
|
sha256 = "1k35qwcf4qz8617b4riy7bp0vna1j3ds0k9j52hlm7qrhww2yxqn";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-event-libevent-dir=${pkgs.libevent.dev}"
|
"--with-event-libevent-dir=${pkgs.libevent.dev}"
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ mkDerivation, fetchurl, pkgs, lib, php }:
|
{ mkDerivation, fetchurl, pkgs, lib, php }:
|
||||||
let
|
let
|
||||||
pname = "php-cs-fixer";
|
pname = "php-cs-fixer";
|
||||||
version = "2.16.4";
|
version = "2.16.7";
|
||||||
in
|
in
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar";
|
url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar";
|
||||||
sha256 = "05rdvypxc86hjs8b7id2csa7g1rf7dk2swzfvd5768abdgfasvr8";
|
sha256 = "1azivqvgqy224g2ch9v9qgi31w4ml7fph3bsk8c304yvbvvfv5nh";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bitarray";
|
pname = "bitarray";
|
||||||
version = "1.5.3";
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "567631fc922b1c2c528c376795f18dcc0604d18702e0b8b50e8e35f0474214a5";
|
sha256 = "ba157ddebddc723fe021fc80595b3c70924d69ee58286b62bfca21da48edfc9d";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
|
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "4.22.1";
|
version = "4.23.0";
|
||||||
pname = "breathe";
|
pname = "breathe";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "6e4b66e61876dac90e78b335788a38eaa3625ed9c70d0add261f98ddd128d36a";
|
sha256 = "c28e251ad8a42e4d3dd6c0861a66128b400131614b36f19df505ea34c934f801";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ docutils six sphinx ];
|
propagatedBuildInputs = [ docutils six sphinx ];
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "btchip-python";
|
pname = "btchip-python";
|
||||||
version = "0.1.30";
|
version = "0.1.31";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1mraf2lmh70b038k934adxi7d40431j7yq93my3aws99f5xccsb8";
|
sha256 = "4167f3c6ea832dd189d447d0d7a8c2a968027671ae6f43c680192f2b72c39b2c";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ hidapi pyscard ecdsa ];
|
propagatedBuildInputs = [ hidapi pyscard ecdsa ];
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "caldav";
|
pname = "caldav";
|
||||||
version = "0.7.0";
|
version = "0.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "python-caldav";
|
owner = "python-caldav";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0m64maiqp3k8fsgkkvdx1dlfhkc70pqig4dclq6w8ajz82czrq83";
|
sha256 = "1shfj67kq6qzd0ngyfk09hpzfggybcfxv5s7hqs87nq9l51bssv8";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = lib.optionals (pythonOlder "3.5") [ mock ];
|
nativeBuildInputs = lib.optionals (pythonOlder "3.5") [ mock ];
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cbor2";
|
pname = "cbor2";
|
||||||
version = "5.1.2";
|
version = "5.2.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "91759bd0ee5ef0d4fa24144dfa551670730baeca8cf2fff1cc59f734ecd21de6";
|
sha256 = "a33aa2e5534fd74401ac95686886e655e3b2ce6383b3f958199b6e70a87c94bf";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cssselect2";
|
pname = "cssselect2";
|
||||||
version = "0.3.0";
|
version = "0.4.1";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc";
|
sha256 = "93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ tinycss2 ];
|
propagatedBuildInputs = [ tinycss2 ];
|
||||||
|
@ -6,11 +6,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cupy";
|
pname = "cupy";
|
||||||
version = "7.7.0";
|
version = "8.1.0";
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b4032adf839f63bab7fc9f3e7066ef86abe0928e834aa5d132e4e7ce907951ed";
|
sha256 = "4dfa4a0cd0a752d980347c816cab2169f0938c1d37275311810396dcf3c27912";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-modelcluster";
|
pname = "django-modelcluster";
|
||||||
version = "5.0.2";
|
version = "5.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "c7a42cf9b93d1161a10bf59919f7ee52d996a523a4134b2a136f6fe1eba7a2fa";
|
sha256 = "783d177f7bf5c8f30fe365c347b9a032920de371fe1c63d955d7b283684d4c08";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "2.0.3";
|
version = "2.0.4";
|
||||||
pname = "elementpath";
|
pname = "elementpath";
|
||||||
disabled = isPy27; # uses incompatible class syntax
|
disabled = isPy27; # uses incompatible class syntax
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
|||||||
owner = "sissaschool";
|
owner = "sissaschool";
|
||||||
repo = "elementpath";
|
repo = "elementpath";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "16gs5glnlr4i41xbmd30x62zj85apmf69m9akvfnka0gkjlzv8in";
|
sha256 = "0812il5xn7cq0qa0vmkszrvprakfpyxmilk7s918l9kavdy4al8x";
|
||||||
};
|
};
|
||||||
|
|
||||||
# avoid circular dependency with xmlschema which directly depends on this
|
# avoid circular dependency with xmlschema which directly depends on this
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ExifRead";
|
pname = "ExifRead";
|
||||||
version = "2.3.1";
|
version = "2.3.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "269ff3a8eab8e082734a076182cce6fb126116619c0b7c2009bea34502cca213";
|
sha256 = "a0f74af5040168d3883bbc980efe26d06c89f026dc86ba28eb34107662d51766";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jq";
|
pname = "jq";
|
||||||
version = "1.0.2";
|
version = "1.1.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "9fe6ce07bc8d209c385d8ba132a2971c69aef015103c46bea87a73a16c5ec147";
|
sha256 = "62d649c4f6f26ed91810c8db075f5fe05319c3dc99dbebcd2d31b0b697a4592e";
|
||||||
};
|
};
|
||||||
patches = [ ./jq-py-setup.patch ];
|
patches = [ ./jq-py-setup.patch ];
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pex";
|
pname = "pex";
|
||||||
version = "2.1.15";
|
version = "2.1.20";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "e1092ae52cfdef41c22d98fa98f9225ac21936a7d096131777ca3a7940fe1b2d";
|
sha256 = "2f1cf9721aa5fce93b034d2a18922d34d6f5fb81236ab3a955706226b15658fd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools ];
|
nativeBuildInputs = [ setuptools ];
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pushbullet.py";
|
pname = "pushbullet.py";
|
||||||
version = "0.11.0";
|
version = "0.12.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "aa9dc7bb46e083e3497d46241154f12944a8f540e29d150330ca94db0b453b8d";
|
sha256 = "917883e1af4a0c979ce46076b391e0243eb8fe0a81c086544bcfa10f53e5ae64";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests websocket_client python_magic ];
|
propagatedBuildInputs = [ requests websocket_client python_magic ];
|
||||||
|
@ -1,29 +1,54 @@
|
|||||||
{ lib, buildPythonPackage, isPy3k, fetchFromGitHub, requests
|
{ lib
|
||||||
, requests-mock, pytest
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchFromGitHub
|
||||||
|
, poetry
|
||||||
|
, aiohttp
|
||||||
|
, numpy
|
||||||
|
, pysmb
|
||||||
|
, aresponses
|
||||||
|
, asynctest
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyairvisual";
|
pname = "pyairvisual";
|
||||||
version = "1.0.0";
|
version = "5.0.4";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bachya";
|
owner = "bachya";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = version;
|
||||||
sha256 = "0ng6k07n91k5l68zk3hl4fywb33admp84wqdm20qmmw9yc9c64fd";
|
sha256 = "0z769xrb6w6bhqcq02sjryl1qyvk9dc1xfn06fc3mdqnrbr0xxj3";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest requests-mock ];
|
nativeBuildInputs = [ poetry ];
|
||||||
propagatedBuildInputs = [ requests ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
propagatedBuildInputs = [
|
||||||
py.test tests
|
aiohttp
|
||||||
'';
|
numpy
|
||||||
|
pysmb
|
||||||
|
];
|
||||||
|
|
||||||
disabled = !isPy3k;
|
checkInputs = [
|
||||||
|
aresponses
|
||||||
|
asynctest
|
||||||
|
pytest-aiohttp
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"tests"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A thin Python wrapper for the AirVisual API";
|
description = "A simple, clean, well-tested Python library for interacting with AirVisual©";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
homepage = "https://github.com/bachya/pyairvisual";
|
homepage = "https://github.com/bachya/pyairvisual";
|
||||||
};
|
};
|
||||||
|
@ -12,17 +12,26 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyatmo";
|
pname = "pyatmo";
|
||||||
version = "4.1.0";
|
version = "4.2.0";
|
||||||
disabled = pythonOlder "3.5"; # uses type hints
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jabesq";
|
owner = "jabesq";
|
||||||
repo = "netatmo-api-python";
|
repo = "netatmo-api-python";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0x3xq6ni9rl5k3vi0ydqafdzvza785ycnlgyikgqbkppbh3j33ig";
|
sha256 = "0b2k1814zg3994k60xdw5gpsl8k1wy9zndd0b1p4dfb5qkx9f8kp";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ oauthlib requests requests_oauthlib ];
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "oauthlib==3.1.0" "oauthlib"
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
oauthlib
|
||||||
|
requests
|
||||||
|
requests_oauthlib
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
freezegun
|
freezegun
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-sql";
|
pname = "python-sql";
|
||||||
version = "1.1.0";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0f0g10y0whvax8yv0rfs7b4yd68lbxbss1za0mvbvr65b8r3pdxz";
|
sha256 = "306999bd311fbf50804d76f346655af0a6ff18881ce46c1329256fee40f492c0";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
{ stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, docopt
|
|
||||||
, requests
|
|
||||||
, smugpy
|
|
||||||
, python
|
|
||||||
, pkgs
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "smugline";
|
|
||||||
version = "20160106";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "gingerlime";
|
|
||||||
repo = pname;
|
|
||||||
rev = "134554c574c2d282112ba60165a8c5ffe0f16fd4";
|
|
||||||
sha256 = "00n012ijkdrx8wsl8x3ghdcxcdp29s4kwr3yxvlyj79g5yhfvaj6";
|
|
||||||
};
|
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
|
||||||
|
|
||||||
buildInputs = [ python pkgs.makeWrapper ];
|
|
||||||
propagatedBuildInputs = [ docopt requests smugpy ];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin $out/libexec
|
|
||||||
cp smugline.py $out/libexec
|
|
||||||
makeWrapper ${python.interpreter} $out/bin/smugline \
|
|
||||||
--add-flags "$out/libexec/smugline.py" \
|
|
||||||
--prefix PYTHONPATH : "$PYTHONPATH"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = "https://github.com/gingerlime/smugline";
|
|
||||||
description = "A simple command line tool for smugmug ";
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub }:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "smugpy";
|
|
||||||
version = "20131218";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "chrishoffman";
|
|
||||||
repo = pname;
|
|
||||||
rev = "f698d6749ce446e3d6c7d925b2cd1cd5b3d695ea";
|
|
||||||
sha256 = "029x6hm1744iznv4sw8sfyl974wmx1sqnr1k5dvzzwpk3ja49a1y";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Python library for the SmugMug API";
|
|
||||||
license = with licenses; [ mit ];
|
|
||||||
homepage = "https://github.com/chrishoffman/smugpy";
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = false; # Tries to login to Smugmug…
|
|
||||||
}
|
|
@ -1,8 +1,11 @@
|
|||||||
{ stdenv, fetchurl, jre, disableRemoteLogging ? true }:
|
{ stdenv, fetchurl, jre, nixosTests, writeScript, common-updater-scripts, git
|
||||||
|
, nixfmt, nix, coreutils, gnused, disableRemoteLogging ? true }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
repo = "git@github.com:lihaoyi/Ammonite.git";
|
||||||
|
|
||||||
common = { scalaVersion, sha256 }:
|
common = { scalaVersion, sha256 }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ammonite";
|
pname = "ammonite";
|
||||||
@ -24,6 +27,37 @@ let
|
|||||||
sed -i '1i #!/bin/sh' $out/bin/amm
|
sed -i '1i #!/bin/sh' $out/bin/amm
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests = { inherit (nixosTests) ammonite; };
|
||||||
|
|
||||||
|
updateScript = writeScript "update.sh" ''
|
||||||
|
#!${stdenv.shell}
|
||||||
|
set -o errexit
|
||||||
|
PATH=${
|
||||||
|
stdenv.lib.makeBinPath [
|
||||||
|
common-updater-scripts
|
||||||
|
coreutils
|
||||||
|
git
|
||||||
|
gnused
|
||||||
|
nix
|
||||||
|
nixfmt
|
||||||
|
]
|
||||||
|
}
|
||||||
|
oldVersion="$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion ${pname}" | tr -d '"')"
|
||||||
|
latestTag="$(git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags ${repo} '*.*.*' | tail --lines=1 | cut --delimiter='/' --fields=3)"
|
||||||
|
if [ "$oldVersion" != "$latestTag" ]; then
|
||||||
|
nixpkgs="$(git rev-parse --show-toplevel)"
|
||||||
|
default_nix="$nixpkgs/pkgs/development/tools/ammonite/default.nix"
|
||||||
|
update-source-version ${pname}_2_12 "$latestTag" --version-key=version --print-changes
|
||||||
|
sed -i "s|$latestTag|$oldVersion|g" "$default_nix"
|
||||||
|
update-source-version ${pname}_2_13 "$latestTag" --version-key=version --print-changes
|
||||||
|
nixfmt "$default_nix"
|
||||||
|
else
|
||||||
|
echo "${pname} is already up-to-date"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Improved Scala REPL";
|
description = "Improved Scala REPL";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -41,10 +75,10 @@ let
|
|||||||
in {
|
in {
|
||||||
ammonite_2_12 = common {
|
ammonite_2_12 = common {
|
||||||
scalaVersion = "2.12";
|
scalaVersion = "2.12";
|
||||||
sha256 = "0nclfqwy3jfn1680z1hd0zzmc0b79wpvx6gn1jnm19aq7qcvh5zp";
|
sha256 = "9xe4GT5YpVCtDPaZvi9PZwFW/wcNhg+QCdbJ4Tl2lFk=";
|
||||||
};
|
};
|
||||||
ammonite_2_13 = common {
|
ammonite_2_13 = common {
|
||||||
scalaVersion = "2.13";
|
scalaVersion = "2.13";
|
||||||
sha256 = "104bnahn382sb6vwjvchsg0jrnkkwjn08rfh0g5ra7lwhgcj2719";
|
sha256 = "KRwh2YOcHpXLA9BlBKzkc9oswdOQbcm3WVqgYaGyi4A=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ fetchurl, stdenv, coreutils, makeWrapper }:
|
{ fetchurl, stdenv, coreutils, makeWrapper }:
|
||||||
|
|
||||||
let version = "1.10.8"; in
|
let version = "1.10.9"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "ant";
|
pname = "ant";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://apache/ant/binaries/apache-ant-${version}-bin.tar.bz2";
|
url = "mirror://apache/ant/binaries/apache-ant-${version}-bin.tar.bz2";
|
||||||
sha256 = "0zh94csb2hl6ir2ccn18ps506mjgh3mffnrb8wpsmp1x5fcykha5";
|
sha256 = "1ab8ybczvk12501dnj450a3d4v43ca0pjhk33s175hax46s58z47";
|
||||||
};
|
};
|
||||||
|
|
||||||
contrib = fetchurl {
|
contrib = fetchurl {
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rocm-cmake";
|
pname = "rocm-cmake";
|
||||||
version = "3.8.0";
|
version = "3.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "rocm-cmake";
|
repo = "rocm-cmake";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
sha256 = "1x1mj1acarhin319zycms8sqm9ylw2mcdbkpqjlb8yfsgiaa99ja";
|
sha256 = "13j7gmcy1j6qsydgccmgiacg6sj38l5mlwn4ck8qizl0cpc14gfm";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
{ stdenv, fetchurl, jre, autoPatchelfHook, zlib }:
|
{ stdenv, fetchurl, jre, autoPatchelfHook, zlib, writeScript
|
||||||
|
, common-updater-scripts, git, nixfmt, nix, coreutils, gnused, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sbt";
|
pname = "sbt";
|
||||||
version = "1.4.0";
|
version = "1.4.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url =
|
url =
|
||||||
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz";
|
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz";
|
||||||
sha256 = "1mgfs732w1c1p7dna7h47x8h073lvjs224fqlpkkvq10153mnxxl";
|
sha256 = "1dw4l91sw4ybqxjid1hsb6r33ka5bl85rfdrbsr9m5vxl82a3mmc";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -34,4 +35,35 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ nequissimus ];
|
maintainers = with maintainers; [ nequissimus ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests = { inherit (nixosTests) sbt; };
|
||||||
|
|
||||||
|
updateScript = writeScript "update.sh" ''
|
||||||
|
#!${stdenv.shell}
|
||||||
|
set -o errexit
|
||||||
|
PATH=${
|
||||||
|
stdenv.lib.makeBinPath [
|
||||||
|
common-updater-scripts
|
||||||
|
git
|
||||||
|
nixfmt
|
||||||
|
nix
|
||||||
|
coreutils
|
||||||
|
gnused
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
oldVersion="$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion sbt" | tr -d '"')"
|
||||||
|
latestTag="$(git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags git@github.com:sbt/sbt.git '*.*.*' | tail --lines=1 | cut --delimiter='/' --fields=3 | sed 's|^v||g')"
|
||||||
|
|
||||||
|
if [ ! "$oldVersion" = "$latestTag" ]; then
|
||||||
|
update-source-version sbt "$latestTag" --version-key=version --print-changes
|
||||||
|
nixpkgs="$(git rev-parse --show-toplevel)"
|
||||||
|
default_nix="$nixpkgs/pkgs/development/tools/build-managers/sbt/default.nix"
|
||||||
|
nixfmt "$default_nix"
|
||||||
|
else
|
||||||
|
echo "sbt is already up-to-date"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, graalvm8, fetchurl }:
|
{ stdenv, lib, graalvm8-ce, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "clj-kondo";
|
pname = "clj-kondo";
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
buildInputs = [ graalvm8 ];
|
buildInputs = [ graalvm8-ce ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
native-image \
|
native-image \
|
||||||
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A linter for Clojure code that sparks joy";
|
description = "A linter for Clojure code that sparks joy";
|
||||||
homepage = "https://github.com/borkdude/clj-kondo";
|
homepage = "https://github.com/borkdude/clj-kondo";
|
||||||
license = licenses.epl10;
|
license = licenses.epl10;
|
||||||
platforms = graalvm8.meta.platforms;
|
platforms = graalvm8-ce.meta.platforms;
|
||||||
maintainers = with maintainers; [ jlesquembre bandresen ];
|
maintainers = with maintainers; [ jlesquembre bandresen ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
, fetchFromGitHub, cmake, ninja, pkgconfig, libuuid, darwin }:
|
, fetchFromGitHub, cmake, ninja, pkgconfig, libuuid, darwin }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.7.2";
|
version = "4.8";
|
||||||
source = fetchFromGitHub {
|
source = fetchFromGitHub {
|
||||||
owner = "antlr";
|
owner = "antlr";
|
||||||
repo = "antlr4";
|
repo = "antlr4";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1pl0zs6c6wx9nmq30s7ccpc3dl72az55i8vfp574fw9sywmvxmlj";
|
sha256 = "1qal3add26qxskm85nk7r758arladn5rcyjinmhlhznmpbbv9j8m";
|
||||||
};
|
};
|
||||||
|
|
||||||
runtime = {
|
runtime = {
|
||||||
@ -41,7 +41,7 @@ let
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url ="https://www.antlr.org/download/antlr-${version}-complete.jar";
|
url ="https://www.antlr.org/download/antlr-${version}-complete.jar";
|
||||||
sha256 = "1d40nfkq3ws8g4ksx4gj6l6m2l9j4b605q6sf68z5vvmg5nkhlk8";
|
sha256 = "0nms976cnqyr1ndng3haxkmknpdq6xli4cpf4x4al0yr21l9v93k";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
@ -8,6 +8,6 @@ let
|
|||||||
in
|
in
|
||||||
buildNodejs {
|
buildNodejs {
|
||||||
inherit enableNpm;
|
inherit enableNpm;
|
||||||
version = "15.0.1";
|
version = "15.1.0";
|
||||||
sha256 = "03xxnl7q96fmm7lalliwb9kmllz52jqrcsqn9cx9pzhwd1x97l5q";
|
sha256 = "1fd0ck6nlmp937j00y17q2k9xszzwf4s383p1z4v4qzj0qzxflvk";
|
||||||
}
|
}
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
, pcre, makeWrapper }:
|
, pcre, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "730-july-preview";
|
version = "784-october-preview";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OpenXRay";
|
owner = "OpenXRay";
|
||||||
repo = "xray-16";
|
repo = "xray-16";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1nish3sbpk0hsag7r4nyx8j6pl9mlgx58v8dhzg2vwj2q32isyb2";
|
sha256 = "0q0h70gbpscdvn45wpxicljj4ji3cd2maijd5b7jhr1695h61q5y";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -25,8 +25,16 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's|/usr|/|' Makefile
|
sed -i 's|/usr|/|' Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
installFlags = [
|
||||||
|
"install"
|
||||||
|
"install_systemd"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp usr/iscsistart $out/sbin/
|
cp usr/iscsistart $out/sbin/
|
||||||
|
for f in $out/lib/systemd/system/*; do
|
||||||
|
substituteInPlace $f --replace /sbin $out/bin
|
||||||
|
done
|
||||||
$out/sbin/iscsistart -v
|
$out/sbin/iscsistart -v
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pam_gnupg";
|
pname = "pam_gnupg";
|
||||||
version = "0.1";
|
version = "0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cruegge";
|
owner = "cruegge";
|
||||||
repo = "pam-gnupg";
|
repo = "pam-gnupg";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0b70mazyvcbg6xyqllm62rwhbz0y94pcy202db1qyy4w8466bhsw";
|
sha256 = "1d8046clv7r3bl77dbpza4f1zlkjffvdczbb5bci3prz7dyfrwsz";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nsd";
|
pname = "nsd";
|
||||||
version = "4.3.2";
|
version = "4.3.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.nlnetlabs.nl/downloads/${pname}/${pname}-${version}.tar.gz";
|
url = "https://www.nlnetlabs.nl/downloads/${pname}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0ac3mbn5z4nc18782m9aswdpi2m9f4665vidw0ciyigdh0pywp2v";
|
sha256 = "0lgdiqnkfvy245h6kkiqic586qjwmg51lsfs86vlc0kwjwddiijz";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Do not edit!
|
# Do not edit!
|
||||||
|
|
||||||
{
|
{
|
||||||
version = "0.117.2";
|
version = "0.117.4";
|
||||||
components = {
|
components = {
|
||||||
"abode" = ps: with ps; [ abodepy ];
|
"abode" = ps: with ps; [ abodepy ];
|
||||||
"accuweather" = ps: with ps; [ accuweather ];
|
"accuweather" = ps: with ps; [ accuweather ];
|
||||||
|
@ -67,7 +67,7 @@ let
|
|||||||
extraBuildInputs = extraPackages py.pkgs;
|
extraBuildInputs = extraPackages py.pkgs;
|
||||||
|
|
||||||
# Don't forget to run parse-requirements.py after updating
|
# Don't forget to run parse-requirements.py after updating
|
||||||
hassVersion = "0.117.2";
|
hassVersion = "0.117.4";
|
||||||
|
|
||||||
in with py.pkgs; buildPythonApplication rec {
|
in with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
@ -83,13 +83,16 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1mpvskr0zjvl065ldw05kc0x5yvibwfm2nmv478wznw3vwmbqrzn";
|
sha256 = "0f5a5y6d9wxdfd5l526dz34xz2n1a6ia7vdcr7sqf2qp51brpw52";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# leave this in, so users don't have to constantly update their downstream patch handling
|
||||||
|
patches = [];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "bcrypt==3.1.7" "bcrypt>=3.1.7" \
|
--replace "bcrypt==3.1.7" "bcrypt>=3.1.7" \
|
||||||
--replace "cryptography==3.2.0" "cryptography" \
|
--replace "cryptography==3.2" "cryptography" \
|
||||||
--replace "ruamel.yaml==0.15.100" "ruamel.yaml>=0.15.100"
|
--replace "ruamel.yaml==0.15.100" "ruamel.yaml>=0.15.100"
|
||||||
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
|
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
|
||||||
'';
|
'';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, fetchurl, substituteAll, cmake, makeWrapper, pkgconfig
|
{ stdenv, lib, fetchFromGitHub, fetchurl, fetchpatch, substituteAll, cmake, makeWrapper, pkgconfig
|
||||||
, curl, ffmpeg_3, glib, libjpeg, libselinux, libsepol, mp4v2, libmysqlclient, mysql, pcre, perl, perlPackages
|
, curl, ffmpeg_3, glib, libjpeg, libselinux, libsepol, mp4v2, libmysqlclient, mysql, pcre, perl, perlPackages
|
||||||
, polkit, utillinuxMinimal, x264, zlib
|
, polkit, utillinuxMinimal, x264, zlib
|
||||||
, coreutils, procps, psmisc, nixosTests }:
|
, coreutils, procps, psmisc, nixosTests }:
|
||||||
@ -78,13 +78,13 @@ let
|
|||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "zoneminder";
|
pname = "zoneminder";
|
||||||
version = "1.34.16";
|
version = "1.34.22";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ZoneMinder";
|
owner = "ZoneMinder";
|
||||||
repo = "zoneminder";
|
repo = "zoneminder";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "azQbm8EkbypBf2NjplDVCb6duEC476hhKDA0EGqxxWE=";
|
sha256 = "1144j9crm0q5pwxnkmy3ahw1vbkddpbk2ys2m2pxxxiqifdhll83";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -23,6 +23,7 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
|
|||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "javaproperties==0.5.1" "javaproperties" \
|
--replace "javaproperties==0.5.1" "javaproperties" \
|
||||||
--replace "pytz==2019.1" "pytz" \
|
--replace "pytz==2019.1" "pytz" \
|
||||||
|
--replace "antlr4-python3-runtime~=4.7.2" "antlr4-python3-runtime~=4.7" \
|
||||||
--replace "mock~=4.0" "mock"
|
--replace "mock~=4.0" "mock"
|
||||||
|
|
||||||
# remove namespace hacks
|
# remove namespace hacks
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "procs";
|
pname = "procs";
|
||||||
version = "0.10.4";
|
version = "0.10.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dalance";
|
owner = "dalance";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1a28kkxcrdfmrq2mmsfkdxfp3msklwga5nbfhjb7a7s64xh8jmjv";
|
sha256 = "0w6a8pfk5s30yi5038kdqh4dncx2pskm7a23z66c4xj3842ci79c";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1xlxjr0pkwlzm7f5xlrsf76in28r9jj41n6gn44vxqbh4x161gs1";
|
cargoSha256 = "07fwznx2czk1ibb77xcfhma9dpqps0m7rsmbb90gah6f32gah617";
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
} :
|
} :
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "20200505";
|
version = "20200929";
|
||||||
pname = "mbuffer";
|
pname = "mbuffer";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.maier-komor.de/software/mbuffer/mbuffer-${version}.tgz";
|
url = "http://www.maier-komor.de/software/mbuffer/mbuffer-${version}.tgz";
|
||||||
sha256 = "02qzy3appah0llg6aa71isl2a5nc93bkzy5r4d682lcy2j1n216c";
|
sha256 = "1s6lxbqba2hwnvrdrwk0fpnff62gv0ynah4ql0c9y14s9v0y79jk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
dontDisableStatic = true; # the build fails without this. should probably be reported upstream
|
dontDisableStatic = true; # the build fails without this. should probably be reported upstream
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
description = "Open source version of Mellanox Firmware Tools (MFT)";
|
||||||
homepage = "https://github.com/Mellanox/mstflint";
|
homepage = "https://github.com/Mellanox/mstflint";
|
||||||
license = with licenses; [ gpl2 bsd2 ];
|
license = with licenses; [ gpl2 bsd2 ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
@ -3,16 +3,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "onefetch";
|
pname = "onefetch";
|
||||||
version = "2.5.0";
|
version = "2.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "o2sh";
|
owner = "o2sh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-F1NbzcMoct0mjWKY2itz4cBqVToY7HpoaRzk3l683fY=";
|
sha256 = "sha256-KdPr/6wGyoHhEwfPektL+B1khyoRfxDHI4aFcKNU0TM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-eBY+34VEPEAv5bqerxR3i7cJrVb1GtvmWyrM7uuef2E=";
|
cargoSha256 = "sha256-MLlGz7Sid0G52//XekqkZgzLqFL7xoUwT6OvpaF4jm0=";
|
||||||
|
|
||||||
buildInputs = with stdenv;
|
buildInputs = with stdenv;
|
||||||
lib.optionals isDarwin [ CoreFoundation libiconv libresolv Security ];
|
lib.optionals isDarwin [ CoreFoundation libiconv libresolv Security ];
|
||||||
@ -21,6 +21,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
description = "Git repository summary on your terminal";
|
description = "Git repository summary on your terminal";
|
||||||
homepage = "https://github.com/o2sh/onefetch";
|
homepage = "https://github.com/o2sh/onefetch";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ filalex77 ];
|
maintainers = with maintainers; [ filalex77 kloenk ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "phoronix-test-suite";
|
pname = "phoronix-test-suite";
|
||||||
version = "9.8.0";
|
version = "10.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://phoronix-test-suite.com/releases/${pname}-${version}.tar.gz";
|
url = "https://phoronix-test-suite.com/releases/${pname}-${version}.tar.gz";
|
||||||
sha256 = "05q01cr4a2mmyski50pqna9sgw2jy93fgfpjwkhbkc09na6400sq";
|
sha256 = "09wrrcxfvh7pwv0jqpyzjsr0rd7askfr0s2xr1wv9v40znxmsmzz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ php ];
|
buildInputs = [ php ];
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pspg";
|
pname = "pspg";
|
||||||
version = "3.1.3";
|
version = "3.1.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "okbob";
|
owner = "okbob";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "16pajhzr4aahyhdzkp9g3ld2insnlk2z2w2pfab8bghw4f69j5xf";
|
sha256 = "000h4yiaym7i5bcm268rvsjbs2brz2is9lhm6vm3dx0q7k1pcx45";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "slirp4netns";
|
pname = "slirp4netns";
|
||||||
version = "1.1.4";
|
version = "1.1.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rootless-containers";
|
owner = "rootless-containers";
|
||||||
repo = "slirp4netns";
|
repo = "slirp4netns";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "13hlljkqss9abjpwaa5gcn6qnax0ws03zzh45c4rv1if7rwk6nbl";
|
sha256 = "1nspvzcpwmaipdq49jm7z3ymdg95zqgcyv1cjfs1zb950knrrggr";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "packagekit-qt";
|
pname = "packagekit-qt";
|
||||||
version = "1.0.1";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hughsie";
|
owner = "hughsie";
|
||||||
repo = "PackageKit-Qt";
|
repo = "PackageKit-Qt";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1ls6mn9abpwzw5wjgmslc5h9happj3516y1q67imppczk8g9h2yk";
|
sha256 = "1d20r503msw1vix3nb6a8bmdqld7fj8k9jk33bkqsc610a2zsms6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ packagekit ];
|
buildInputs = [ packagekit ];
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user