Merge master into staging-next
This commit is contained in:
commit
d07c2d73fd
|
@ -238,6 +238,14 @@
|
||||||
the Nix store.
|
the Nix store.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The <literal>services.fwupd</literal> module now allows
|
||||||
|
arbitrary daemon settings to be configured in a structured
|
||||||
|
manner
|
||||||
|
(<link linkend="opt-services.fwupd.daemonSettings"><literal>services.fwupd.daemonSettings</literal></link>).
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The <literal>unifi-poller</literal> package and corresponding
|
The <literal>unifi-poller</literal> package and corresponding
|
||||||
|
|
|
@ -70,4 +70,6 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||||
|
|
||||||
- Resilio sync secret keys can now be provided using a secrets file at runtime, preventing these secrets from ending up in the Nix store.
|
- Resilio sync secret keys can now be provided using a secrets file at runtime, preventing these secrets from ending up in the Nix store.
|
||||||
|
|
||||||
|
- The `services.fwupd` module now allows arbitrary daemon settings to be configured in a structured manner ([`services.fwupd.daemonSettings`](#opt-services.fwupd.daemonSettings)).
|
||||||
|
|
||||||
- The `unifi-poller` package and corresponding NixOS module have been renamed to `unpoller` to match upstream.
|
- The `unifi-poller` package and corresponding NixOS module have been renamed to `unpoller` to match upstream.
|
||||||
|
|
|
@ -7,13 +7,16 @@ with lib;
|
||||||
let
|
let
|
||||||
cfg = config.services.fwupd;
|
cfg = config.services.fwupd;
|
||||||
|
|
||||||
|
format = pkgs.formats.ini {
|
||||||
|
listToValue = l: lib.concatStringsSep ";" (map (s: generators.mkValueStringDefault {} s) l);
|
||||||
|
mkKeyValue = generators.mkKeyValueDefault {} "=";
|
||||||
|
};
|
||||||
|
|
||||||
customEtc = {
|
customEtc = {
|
||||||
"fwupd/daemon.conf" = {
|
"fwupd/daemon.conf" = {
|
||||||
source = pkgs.writeText "daemon.conf" ''
|
source = format.generate "daemon.conf" {
|
||||||
[fwupd]
|
fwupd = cfg.daemonSettings;
|
||||||
DisabledDevices=${lib.concatStringsSep ";" cfg.disabledDevices}
|
};
|
||||||
DisabledPlugins=${lib.concatStringsSep ";" cfg.disabledPlugins}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
"fwupd/uefi_capsule.conf" = {
|
"fwupd/uefi_capsule.conf" = {
|
||||||
source = pkgs.writeText "uefi_capsule.conf" ''
|
source = pkgs.writeText "uefi_capsule.conf" ''
|
||||||
|
@ -67,24 +70,6 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
disabledDevices = mkOption {
|
|
||||||
type = types.listOf types.str;
|
|
||||||
default = [];
|
|
||||||
example = [ "2082b5e0-7a64-478a-b1b2-e3404fab6dad" ];
|
|
||||||
description = lib.mdDoc ''
|
|
||||||
Allow disabling specific devices by their GUID
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
disabledPlugins = mkOption {
|
|
||||||
type = types.listOf types.str;
|
|
||||||
default = [];
|
|
||||||
example = [ "udev" ];
|
|
||||||
description = lib.mdDoc ''
|
|
||||||
Allow disabling specific plugins
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
extraTrustedKeys = mkOption {
|
extraTrustedKeys = mkOption {
|
||||||
type = types.listOf types.path;
|
type = types.listOf types.path;
|
||||||
default = [];
|
default = [];
|
||||||
|
@ -120,18 +105,49 @@ in {
|
||||||
Which fwupd package to use.
|
Which fwupd package to use.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
daemonSettings = mkOption {
|
||||||
|
type = types.submodule {
|
||||||
|
freeformType = format.type.nestedTypes.elemType;
|
||||||
|
options = {
|
||||||
|
DisabledDevices = mkOption {
|
||||||
|
type = types.listOf types.str;
|
||||||
|
default = [];
|
||||||
|
example = [ "2082b5e0-7a64-478a-b1b2-e3404fab6dad" ];
|
||||||
|
description = lib.mdDoc ''
|
||||||
|
List of device GUIDs to be disabled.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
DisabledPlugins = mkOption {
|
||||||
|
type = types.listOf types.str;
|
||||||
|
default = [];
|
||||||
|
example = [ "udev" ];
|
||||||
|
description = lib.mdDoc ''
|
||||||
|
List of plugins to be disabled.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
default = {};
|
||||||
|
description = lib.mdDoc ''
|
||||||
|
Configurations for the fwupd daemon.
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
(mkRenamedOptionModule [ "services" "fwupd" "blacklistDevices"] [ "services" "fwupd" "disabledDevices" ])
|
(mkRenamedOptionModule [ "services" "fwupd" "blacklistDevices"] [ "services" "fwupd" "daemonSettings" "DisabledDevices" ])
|
||||||
(mkRenamedOptionModule [ "services" "fwupd" "blacklistPlugins"] [ "services" "fwupd" "disabledPlugins" ])
|
(mkRenamedOptionModule [ "services" "fwupd" "blacklistPlugins"] [ "services" "fwupd" "daemonSettings" "DisabledPlugins" ])
|
||||||
|
(mkRenamedOptionModule [ "services" "fwupd" "disabledDevices" ] [ "services" "fwupd" "daemonSettings" "DisabledDevices" ])
|
||||||
|
(mkRenamedOptionModule [ "services" "fwupd" "disabledPlugins" ] [ "services" "fwupd" "daemonSettings" "DisabledPlugins" ])
|
||||||
];
|
];
|
||||||
|
|
||||||
###### implementation
|
###### implementation
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# Disable test related plug-ins implicitly so that users do not have to care about them.
|
# Disable test related plug-ins implicitly so that users do not have to care about them.
|
||||||
services.fwupd.disabledPlugins = cfg.package.defaultDisabledPlugins;
|
services.fwupd.daemonSettings.DisabledPlugins = cfg.package.defaultDisabledPlugins;
|
||||||
|
|
||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,11 @@
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, calf
|
, calf
|
||||||
|
, fftw
|
||||||
, fftwFloat
|
, fftwFloat
|
||||||
, fmt_8
|
, fmt_9
|
||||||
, glib
|
, glib
|
||||||
|
, gsl
|
||||||
, gtk4
|
, gtk4
|
||||||
, itstool
|
, itstool
|
||||||
, libadwaita
|
, libadwaita
|
||||||
|
@ -25,6 +27,7 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, rnnoise
|
, rnnoise
|
||||||
, rubberband
|
, rubberband
|
||||||
|
, speex
|
||||||
, speexdsp
|
, speexdsp
|
||||||
, tbb
|
, tbb
|
||||||
, wrapGAppsHook4
|
, wrapGAppsHook4
|
||||||
|
@ -34,13 +37,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "easyeffects";
|
pname = "easyeffects";
|
||||||
version = "6.3.0";
|
version = "7.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wwmm";
|
owner = "wwmm";
|
||||||
repo = "easyeffects";
|
repo = "easyeffects";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-OLxuE1jiALuKlC9U9esVlhaMBEaoZyNae8OO8upE4ZM=";
|
sha256 = "sha256-SjhJj5kClPd8DT1vzbSdqJ9AJw0XiX9Q8/R8SDnxGPQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -53,9 +56,11 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
fftw
|
||||||
fftwFloat
|
fftwFloat
|
||||||
fmt_8
|
fmt_9
|
||||||
glib
|
glib
|
||||||
|
gsl
|
||||||
gtk4
|
gtk4
|
||||||
libadwaita
|
libadwaita
|
||||||
libbs2b
|
libbs2b
|
||||||
|
@ -69,6 +74,7 @@ stdenv.mkDerivation rec {
|
||||||
pipewire
|
pipewire
|
||||||
rnnoise
|
rnnoise
|
||||||
rubberband
|
rubberband
|
||||||
|
speex
|
||||||
speexdsp
|
speexdsp
|
||||||
tbb
|
tbb
|
||||||
zita-convolver
|
zita-convolver
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "jove";
|
pname = "jove";
|
||||||
version = "4.17.4.7";
|
version = "4.17.4.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jonmacs";
|
owner = "jonmacs";
|
||||||
repo = "jove";
|
repo = "jove";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
sha256 = "sha256-a8amp8JAI25XIeL8MzvJEAvv6B0oIaQvUOQlAaS3PeI=";
|
sha256 = "sha256-/n/TgVqyG/WeK+/DZqFZCdkQR4SD5+YmljLlzAehMvw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, SDL_compat
|
, SDL
|
||||||
, SDL_net
|
, SDL_net
|
||||||
, SDL_sound
|
, SDL_sound
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL_compat
|
SDL
|
||||||
SDL_net
|
SDL_net
|
||||||
SDL_sound
|
SDL_sound
|
||||||
libGL
|
libGL
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
, cairo
|
, cairo
|
||||||
, cmake
|
, cmake
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, gettext
|
, gettext
|
||||||
, ghostscript
|
, ghostscript
|
||||||
, glib
|
, glib
|
||||||
|
@ -59,11 +58,11 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "inkscape";
|
pname = "inkscape";
|
||||||
version = "1.2.1";
|
version = "1.2.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz";
|
url = "https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz";
|
||||||
sha256 = "Rs59oOunykutwdtw6cu2fgrfm7NCaH3G4ItcohuNTBs=";
|
sha256 = "oMf9DQPAohU15kjvMB3PgN18/B81ReUQZfvxuj7opcQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Inkscape hits the ARGMAX when linking on macOS. It appears to be
|
# Inkscape hits the ARGMAX when linking on macOS. It appears to be
|
||||||
|
@ -79,12 +78,6 @@ stdenv.mkDerivation rec {
|
||||||
# e.g., those from the "Effects" menu.
|
# e.g., those from the "Effects" menu.
|
||||||
python3 = "${python3Env}/bin/python";
|
python3 = "${python3Env}/bin/python";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Fix build with Poppler 22.09
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/archlinux/svntogit-packages/raw/b2f65dfb60ae0c8cd6cd9affd3d71064082a6201/trunk/inkscape-1.2.1-poppler-22.09.0.patch";
|
|
||||||
sha256 = "pArvsS/qoCTMAisF8yj3agZKrb90zRFZkck1TX0KeGc=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
72
pkgs/applications/networking/headlines/default.nix
Normal file
72
pkgs/applications/networking/headlines/default.nix
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, cmake
|
||||||
|
, pkg-config
|
||||||
|
, libmicrohttpd
|
||||||
|
, curl
|
||||||
|
, openssl
|
||||||
|
, jsoncpp
|
||||||
|
, libxml2
|
||||||
|
, gst_all_1
|
||||||
|
, boost
|
||||||
|
, websocketpp
|
||||||
|
, libadwaita
|
||||||
|
, gtkmm4
|
||||||
|
, libsecret
|
||||||
|
, fetchFromGitLab
|
||||||
|
, makeWrapper
|
||||||
|
, xdg-utils
|
||||||
|
, youtube-dl
|
||||||
|
, ffmpeg
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "headlines";
|
||||||
|
version = "0.7.2";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "caveman250";
|
||||||
|
repo = "Headlines";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-wamow0UozX5ecKbXWOgsWCerInL4J0gK0+Muf+eoO9k=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libmicrohttpd
|
||||||
|
curl
|
||||||
|
openssl
|
||||||
|
jsoncpp
|
||||||
|
libxml2
|
||||||
|
boost
|
||||||
|
websocketpp
|
||||||
|
libadwaita
|
||||||
|
gtkmm4
|
||||||
|
libsecret
|
||||||
|
] ++ (with gst_all_1; [
|
||||||
|
gstreamer
|
||||||
|
gst-libav
|
||||||
|
gst-plugins-base
|
||||||
|
(gst-plugins-good.override { gtkSupport = true; })
|
||||||
|
gst-plugins-bad
|
||||||
|
]);
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram "$out/bin/headlines" \
|
||||||
|
--prefix PATH : "${lib.makeBinPath [ xdg-utils youtube-dl ffmpeg ]}" \
|
||||||
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "GTK4 / Libadwaita Reddit client written in C++";
|
||||||
|
homepage = "https://gitlab.com/caveman250/Headlines";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ chuangzhu ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -63,13 +63,13 @@ rec {
|
||||||
patch-src = src + "/daemon/contrib/src/pjproject/";
|
patch-src = src + "/daemon/contrib/src/pjproject/";
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
version = "513a3f14c44b2c2652f9219ec20dea64b236b713";
|
version = "eae25732568e600d248aa8c226271ff6b81df170";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "savoirfairelinux";
|
owner = "savoirfairelinux";
|
||||||
repo = "pjproject";
|
repo = "pjproject";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-93AlJGMnlzJMrJquelpHQQKjhEgfpTFXTMqkBnm87u8=";
|
sha256 = "sha256-N7jn4qen+PgFiVkTFi2HSWhx2QPHwAYMtnrpE/ptDVc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = (map (x: patch-src + x) (readLinesToList ./config/pjsip_patches));
|
patches = (map (x: patch-src + x) (readLinesToList ./config/pjsip_patches));
|
||||||
|
|
|
@ -18,14 +18,14 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "banking";
|
pname = "banking";
|
||||||
version = "0.5.1";
|
version = "0.6.0";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "tabos";
|
owner = "tabos";
|
||||||
repo = "banking";
|
repo = "banking";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-tZlBpDcwQ/aWroP2sFQBZcvmBD26PiY7q/8xFA8GnVc=";
|
hash = "sha256-x/um40sRD58d5LuuJlyietCV1Rw4H5VSO0I3ZwD5kO8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -54,8 +54,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
cryptography
|
cryptography
|
||||||
fints
|
fints
|
||||||
mt-940
|
mt-940
|
||||||
|
onetimepad
|
||||||
pygobject3
|
pygobject3
|
||||||
pysqlitecipher
|
|
||||||
schwifty
|
schwifty
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
62
pkgs/applications/system/thumbdrives/default.nix
Normal file
62
pkgs/applications/system/thumbdrives/default.nix
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
{ lib
|
||||||
|
, python3
|
||||||
|
, fetchFromSourcehut
|
||||||
|
, gtk3
|
||||||
|
, libhandy_0
|
||||||
|
, gobject-introspection
|
||||||
|
, meson
|
||||||
|
, pkg-config
|
||||||
|
, ninja
|
||||||
|
, gettext
|
||||||
|
, glib
|
||||||
|
, desktop-file-utils
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "thumbdrives";
|
||||||
|
version = "0.3.1";
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~martijnbraam";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-CPZKswbvsG61A6J512FOCKAntoJ0sUb2s+MKb0rO+Xw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs build-aux/meson
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
pkg-config
|
||||||
|
ninja
|
||||||
|
gettext
|
||||||
|
glib
|
||||||
|
gtk3
|
||||||
|
desktop-file-utils
|
||||||
|
wrapGAppsHook
|
||||||
|
gobject-introspection
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gtk3
|
||||||
|
libhandy_0
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
pygobject3
|
||||||
|
pyxdg
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "USB mass storage emulator for Linux handhelds";
|
||||||
|
homepage = "https://sr.ht/~martijnbraam/thumbdrives/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ chuangzhu ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "gleam";
|
pname = "gleam";
|
||||||
version = "0.25.0";
|
version = "0.25.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gleam-lang";
|
owner = "gleam-lang";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-LLl3T7VvDyyeq47vgZPkQhcPk2yZMRsCta8EqduNvuY=";
|
sha256 = "sha256-PzvFX1ssBPXhHBNGK38y427HYJ9Q40c4w2mqGZ/2rtI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
buildInputs = [ openssl ] ++
|
buildInputs = [ openssl ] ++
|
||||||
lib.optionals stdenv.isDarwin [ Security libiconv ];
|
lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||||
|
|
||||||
cargoSha256 = "sha256-vMgU66LhhRrSA9Dx3eyVmUwrYKVtAfE12tQC8WzTimo=";
|
cargoSha256 = "sha256-NeNpT/yOXE70ElawrOGBc4G5bN2ohzYVVUtF4yVCJOo=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A statically typed language for the Erlang VM";
|
description = "A statically typed language for the Erlang VM";
|
||||||
|
|
|
@ -31,6 +31,10 @@
|
||||||
, rebuildBytecode ? true
|
, rebuildBytecode ? true
|
||||||
, reproducibleBuild ? false
|
, reproducibleBuild ? false
|
||||||
, enableOptimizations ? false
|
, enableOptimizations ? false
|
||||||
|
, strip2to3 ? false
|
||||||
|
, stripConfig ? false
|
||||||
|
, stripIdlelib ? false
|
||||||
|
, stripTests ? false
|
||||||
, pythonAttr ? "python${sourceVersion.major}${sourceVersion.minor}"
|
, pythonAttr ? "python${sourceVersion.major}${sourceVersion.minor}"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -318,6 +322,16 @@ in with passthru; stdenv.mkDerivation ({
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
# Include a sitecustomize.py file. Note it causes an error when it's in postInstall with 2.7.
|
# Include a sitecustomize.py file. Note it causes an error when it's in postInstall with 2.7.
|
||||||
cp ${../../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
|
cp ${../../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
|
||||||
|
'' + optionalString strip2to3 ''
|
||||||
|
rm -R $out/bin/2to3 $out/lib/python*/lib2to3
|
||||||
|
'' + optionalString stripConfig ''
|
||||||
|
rm -R $out/bin/python*-config $out/lib/python*/config-*
|
||||||
|
'' + optionalString stripIdlelib ''
|
||||||
|
# Strip IDLE
|
||||||
|
rm -R $out/bin/idle* $out/lib/python*/idlelib
|
||||||
|
'' + optionalString stripTests ''
|
||||||
|
# Strip tests
|
||||||
|
rm -R $out/lib/python*/test $out/lib/python*/**/test{,s}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
49
pkgs/development/libraries/crocoddyl/default.nix
Normal file
49
pkgs/development/libraries/crocoddyl/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, example-robot-data
|
||||||
|
, pinocchio
|
||||||
|
, pythonSupport ? false
|
||||||
|
, python3Packages
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "crocoddyl";
|
||||||
|
version = "1.9.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "loco-3d";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-IQ+8ZZXVTTRFa4uGetpylRab4P9MSTU2YtytYA3z6ys=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = lib.optionals (!pythonSupport) [
|
||||||
|
example-robot-data
|
||||||
|
pinocchio
|
||||||
|
] ++ lib.optionals pythonSupport [
|
||||||
|
python3Packages.example-robot-data
|
||||||
|
python3Packages.pinocchio
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = lib.optionals (!pythonSupport) [
|
||||||
|
"-DBUILD_EXAMPLES=OFF"
|
||||||
|
"-DBUILD_PYTHON_INTERFACE=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Crocoddyl optimal control library";
|
||||||
|
homepage = "https://github.com/loco-3d/crocoddyl";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ wegank ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
42
pkgs/development/libraries/example-robot-data/default.nix
Normal file
42
pkgs/development/libraries/example-robot-data/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, pythonSupport ? false
|
||||||
|
, python3Packages
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "example-robot-data";
|
||||||
|
version = "4.0.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Gepetto";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
sha256 = "sha256-rxVyka8tcF/CmGTVNyh3FPR1LVa6JOAN+9zjElgqCak=";
|
||||||
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals pythonSupport [
|
||||||
|
python3Packages.pinocchio
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = lib.optionals (!pythonSupport) [
|
||||||
|
"-DBUILD_PYTHON_INTERFACE=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Set of robot URDFs for benchmarking and developed examples.";
|
||||||
|
homepage = "https://github.com/Gepetto/example-robot-data";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ wegank ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lib2geom";
|
pname = "lib2geom";
|
||||||
version = "1.2";
|
version = "1.2.2";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "inkscape";
|
owner = "inkscape";
|
||||||
repo = "lib2geom";
|
repo = "lib2geom";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-SNo5YT7o29zdxkHLuy9MT88qBg/U1Wwa3BWShF5ACTc=";
|
sha256 = "sha256-xkUxcAk8KJkL482R7pvgmCT+5I8aUMm/q25pvK3ZPuY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
57
pkgs/development/libraries/pinocchio/default.nix
Normal file
57
pkgs/development/libraries/pinocchio/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, boost
|
||||||
|
, eigen
|
||||||
|
, urdfdom
|
||||||
|
, pythonSupport ? false
|
||||||
|
, python3Packages
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "pinocchio";
|
||||||
|
version = "2.6.12";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "stack-of-tasks";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
sha256 = "sha256-DJX/njNX8l7ngSl3yCeN7ZoQaH65pQTsZrKwmY7EZ+E=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# error: use of undeclared identifier '__sincos'
|
||||||
|
postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
|
||||||
|
substituteInPlace src/math/sincos.hpp \
|
||||||
|
--replace "__APPLE__" "0"
|
||||||
|
'';
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
urdfdom
|
||||||
|
] ++ lib.optionals (!pythonSupport) [
|
||||||
|
boost
|
||||||
|
eigen
|
||||||
|
] ++ lib.optionals pythonSupport [
|
||||||
|
python3Packages.boost
|
||||||
|
python3Packages.eigenpy
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = lib.optionals (!pythonSupport) [
|
||||||
|
"-DBUILD_PYTHON_INTERFACE=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives";
|
||||||
|
homepage = "https://github.com/stack-of-tasks/pinocchio";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ wegank ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -26,7 +26,7 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wireplumber";
|
pname = "wireplumber";
|
||||||
version = "0.4.12";
|
version = "0.4.13";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc";
|
outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc";
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "pipewire";
|
owner = "pipewire";
|
||||||
repo = "wireplumber";
|
repo = "wireplumber";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-2qM6sX807v/3DZXTuBvUSGV8+cPB87rWYb+HTDCm3kw=";
|
sha256 = "sha256-Zz8N6OPwZ4Dwaygiy46C3sN9zPGC12+55S/qns+S+h4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -67,11 +67,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureScript = "python ./configure";
|
configureScript = "python ./configure";
|
||||||
|
|
||||||
# disable stackprotector on aarch64-darwin for now
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/158730
|
|
||||||
# see https://github.com/NixOS/nixpkgs/issues/127608 for a similar issue
|
|
||||||
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||||
|
|
||||||
|
|
47
pkgs/development/libraries/toml11/default.nix
Normal file
47
pkgs/development/libraries/toml11/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "toml11";
|
||||||
|
version = "3.7.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ToruNiina";
|
||||||
|
repo = "toml11";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-HnhXBvIjo1JXhp+hUQvjs83t5IBVbNN6o3ZGhB4WESQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/ToruNiina/toml11";
|
||||||
|
description = "TOML for Modern C++";
|
||||||
|
longDescription = ''
|
||||||
|
toml11 is a C++11 (or later) header-only toml parser/encoder depending
|
||||||
|
only on C++ standard library.
|
||||||
|
|
||||||
|
- It is compatible to the latest version of TOML v1.0.0.
|
||||||
|
- It is one of the most TOML standard compliant libraries, tested with
|
||||||
|
the language agnostic test suite for TOML parsers by BurntSushi.
|
||||||
|
- It shows highly informative error messages.
|
||||||
|
- It has configurable container. You can use any random-access containers
|
||||||
|
and key-value maps as backend containers.
|
||||||
|
- It optionally preserves comments without any overhead.
|
||||||
|
- It has configurable serializer that supports comments, inline tables,
|
||||||
|
literal strings and multiline strings.
|
||||||
|
- It supports user-defined type conversion from/into toml values.
|
||||||
|
- It correctly handles UTF-8 sequences, with or without BOM, both on posix
|
||||||
|
and Windows.
|
||||||
|
'';
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
# TODO [ AndersonTorres ]: tests
|
|
@ -1,19 +1,37 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, pkgs
|
||||||
, pkgsBuildHost
|
, pkgsBuildHost
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pkgs = import ../../../.. {
|
python27' = (pkgsBuildHost.python27.overrideAttrs (old:
|
||||||
inherit (stdenv.hostPlatform) system;
|
{
|
||||||
# Allow python27 with known security issues only for resholve,
|
# Overriding `meta.knownVulnerabilities` here, see #201859 for why it exists
|
||||||
# see issue #201859 for the reasoning
|
# In resholve case this should not be a security issue,
|
||||||
# In resholve case this should not be a security issue,
|
# since it will only be used during build, not runtime
|
||||||
# since it will only be used during build, not runtime
|
meta = (old.meta or { }) // { knownVulnerabilities = [ ]; };
|
||||||
config.permittedInsecurePackages = [ pkgsBuildHost.python27.name ];
|
}
|
||||||
|
)).override {
|
||||||
|
self = python27';
|
||||||
|
pkgsBuildHost = pkgsBuildHost // { python27 = python27'; };
|
||||||
|
# strip down that python version as much as possible
|
||||||
|
openssl = null;
|
||||||
|
bzip2 = null;
|
||||||
|
readline = null;
|
||||||
|
ncurses = null;
|
||||||
|
gdbm = null;
|
||||||
|
sqlite = null;
|
||||||
|
libffi = null;
|
||||||
|
rebuildBytecode = false;
|
||||||
|
stripBytecode = true;
|
||||||
|
strip2to3 = true;
|
||||||
|
stripConfig = true;
|
||||||
|
stripIdlelib = true;
|
||||||
|
stripTests = true;
|
||||||
|
enableOptimizations = false;
|
||||||
};
|
};
|
||||||
callPackage = lib.callPackageWith pkgs;
|
callPackage = lib.callPackageWith (pkgs // { python27 = python27'; });
|
||||||
source = callPackage ./source.nix { };
|
source = callPackage ./source.nix { };
|
||||||
deps = callPackage ./deps.nix { };
|
deps = callPackage ./deps.nix { };
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,23 +1,37 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, utop, python3, stdcompat, ncurses }:
|
{ buildDunePackage
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, utop
|
||||||
|
, python3
|
||||||
|
, stdcompat
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
buildDunePackage rec {
|
||||||
pname = "pyml";
|
pname = "pyml";
|
||||||
version = "20220615";
|
version = "20220905";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "thierry-martinez";
|
owner = "thierry-martinez";
|
||||||
repo = pname;
|
repo = "pyml";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-my/xn9vrYTcHyjXGBNamgqpBz2/6bTyQHuE9ViVGLjw=";
|
sha256 = "PL4tFIKQLRutSn9Sf84/ImJv0DqkstNnJaNBqWDTKDQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
patches = [
|
||||||
ocaml
|
# Fixes test crash.
|
||||||
findlib
|
# https://github.com/thierry-martinez/pyml/issues/85
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/thierry-martinez/pyml/commit/a0bc5aca8632bea273f869d622cad2f55e754a7c.patch";
|
||||||
|
sha256 = "bOqAokm5DE5rlvkBMQZtwMppRmoK9cvjJeGeP6BusnE=";
|
||||||
|
excludes = [
|
||||||
|
"CHANGES.md"
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
utop
|
utop
|
||||||
ncurses
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -25,24 +39,17 @@ stdenv.mkDerivation rec {
|
||||||
stdcompat
|
stdcompat
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
python3.pkgs.numpy
|
||||||
|
];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
make all pymltop pymlutop PREFIX=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
mkdir -p $out/bin
|
|
||||||
mkdir -p $OCAMLFIND_DESTDIR/stublibs
|
|
||||||
make install PREFIX=$out
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "OCaml bindings for Python";
|
description = "OCaml bindings for Python";
|
||||||
|
homepage = "https://github.com/thierry-martinez/pyml";
|
||||||
license = lib.licenses.bsd2;
|
license = lib.licenses.bsd2;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,29 +1,25 @@
|
||||||
{ stdenv, lib, fetchurl
|
{ buildDunePackage
|
||||||
, ocaml, findlib
|
, lib
|
||||||
|
, fetchurl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
buildDunePackage rec {
|
||||||
pname = "ocaml${ocaml.version}-stdcompat";
|
pname = "stdcompat";
|
||||||
version = "18";
|
version = "19";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz";
|
url = "https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz";
|
||||||
sha256 = "sha256:01y67rndjlzfp5zq0gbqpg9skqq2hfbvhbq9lfhhk5xidr98sfj8";
|
sha256 = "sha256-DKQGd4nnIN6SPls6hcA/2Jvc7ivYNpeMU6rYsVc1ClU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ ocaml findlib ];
|
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
# build fails otherwise
|
# Otherwise ./configure script will run and create files conflicting with dune.
|
||||||
enableParallelBuilding = false;
|
dontConfigure = true;
|
||||||
|
|
||||||
configureFlags = [ "--libdir=$(OCAMLFIND_DESTDIR)" ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/thierry-martinez/stdcompat";
|
homepage = "https://github.com/thierry-martinez/stdcompat";
|
||||||
license = lib.licenses.bsd2;
|
license = lib.licenses.bsd2;
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
inherit (ocaml.meta) platforms;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, click
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "click-command-tree";
|
||||||
|
version = "1.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "whwright";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-vFOcn+ibyLZnhU3OQMtnHI04UqAY2/CCvhq4EEU4XFo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "remove-setup-downloading-flake8.patch";
|
||||||
|
url = "https://github.com/whwright/click-command-tree/commit/1ecfcfa29bf01e1131e6ec712bd7338ac1283dc8.patch";
|
||||||
|
hash = "sha256-u5jsNfEo1+XNlkVGPCM/rsDPnYko6cr2z2si9nq+sLA=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
click
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"tests.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "click_command_tree" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "click plugin to show the command tree of your CLI";
|
||||||
|
homepage = "https://github.com/whwright/click-command-tree";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ tjni ];
|
||||||
|
};
|
||||||
|
}
|
44
pkgs/development/python-modules/eigenpy/default.nix
Normal file
44
pkgs/development/python-modules/eigenpy/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, boost
|
||||||
|
, eigen
|
||||||
|
, numpy
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "eigenpy";
|
||||||
|
version = "2.8.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "stack-of-tasks";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
sha256 = "sha256-nofB5TDvEArhPcYe/Pb1LQBC+W6MrE3NuapaZmKIO68=";
|
||||||
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
boost
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
eigen
|
||||||
|
numpy
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Bindings between Numpy and Eigen using Boost.Python";
|
||||||
|
homepage = "https://github.com/stack-of-tasks/eigenpy";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ wegank ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "graphene";
|
pname = "graphene";
|
||||||
version = "3.2.0";
|
version = "3.2.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||||
owner = "graphql-python";
|
owner = "graphql-python";
|
||||||
repo = "graphene";
|
repo = "graphene";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-2o/IR6XjnS57D4ZjADrcI18acfJ+Q0zdnXeb5ZeCpM4=";
|
hash = "sha256-XnrzgPkkFsTgNE9J+eSkD8f5MokKjtZhbbE/dxNZryk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hahomematic";
|
pname = "hahomematic";
|
||||||
version = "2022.12.2";
|
version = "2022.12.3";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||||
owner = "danielperna84";
|
owner = "danielperna84";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-mU/YOOYlXNQQyzH2t+XZEi2+w8rzcoxIIxrdwAM4C00=";
|
sha256 = "sha256-6xCPkB2QydoJrvwgGGJqmGaw38HCAUs2jPBuXoIBC2Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -10,14 +10,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyterlab";
|
pname = "jupyterlab";
|
||||||
version = "3.5.0";
|
version = "3.5.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-4CVWyOobOGljxLRk5GGK7hU8VBawerSBQlyBegMzI6I=";
|
sha256 = "sha256-WaGy151LPr7k2ZfIvtjPRQ9GDHw19GthOpPwt3ErR/w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||||
pythonImportsCheck = [ "pycodestyle" ];
|
pythonImportsCheck = [ "pycodestyle" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
changelog = "https://github.com/PyCQA/pyflakes/blob/${version}/NEWS.rst";
|
changelog = "https://github.com/PyCQA/pycodestyle/blob/${version}/CHANGES.txt";
|
||||||
description = "Python style guide checker";
|
description = "Python style guide checker";
|
||||||
homepage = "https://pycodestyle.pycqa.org/";
|
homepage = "https://pycodestyle.pycqa.org/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, dos2unix
|
, dos2unix
|
||||||
, pythonRelaxDepsHook
|
, pythonRelaxDepsHook
|
||||||
, asn1crypto
|
, asn1crypto
|
||||||
|
@ -9,6 +8,7 @@
|
||||||
, bincopy
|
, bincopy
|
||||||
, bitstring
|
, bitstring
|
||||||
, click
|
, click
|
||||||
|
, click-command-tree
|
||||||
, click-option-group
|
, click-option-group
|
||||||
, cmsis-pack-manager
|
, cmsis-pack-manager
|
||||||
, commentjson
|
, commentjson
|
||||||
|
@ -33,42 +33,32 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "spsdk";
|
pname = "spsdk";
|
||||||
version = "1.6.3";
|
version = "1.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NXPmicro";
|
owner = "NXPmicro";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-JMhd2XdbjEN6SUzFgcBHd/dStiuYeXXis6pfijSfUso=";
|
hash = "sha256-yCmkOrUe5XqbuHeo7F84j1gmdzpdpCRWdD9V74U64c4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
nativeBuildInputs = [
|
||||||
# https://github.com/NXPmicro/spsdk/pull/43
|
pythonRelaxDepsHook
|
||||||
(fetchpatch {
|
|
||||||
name = "cryptography-37-compat.patch";
|
|
||||||
url = "https://github.com/NXPmicro/spsdk/commit/a85b854de1093de593d27fa64de442224ab2e0fd.patch";
|
|
||||||
sha256 = "sha256-4pXV/8RaNuGl7KNdoGD/8YnPQ2ZmUQOjXWA/Yy0Kxu8=";
|
|
||||||
})
|
|
||||||
# https://github.com/NXPmicro/spsdk/pull/41
|
|
||||||
(fetchpatch {
|
|
||||||
name = "blhost-click-8-1-compat.patch";
|
|
||||||
url = "https://github.com/NXPmicro/spsdk/commit/5112b1b69aa681d265035475e73d28ea0c8cb6ab.patch";
|
|
||||||
sha256 = "sha256-Okz6Er6OVuAA5IlB5IabSa/gUSLa+E2Ltd+J3uoIg6o=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
"bincopy"
|
"bincopy"
|
||||||
"bitstring"
|
"bitstring"
|
||||||
"cmsis-pack-manager"
|
"cmsis-pack-manager"
|
||||||
"cryptography"
|
|
||||||
"deepmerge"
|
"deepmerge"
|
||||||
"jinja2"
|
"jinja2"
|
||||||
"pylink-square"
|
"pylink-square"
|
||||||
"pyocd"
|
"pyocd"
|
||||||
];
|
];
|
||||||
pythonRemoveDeps = [ "pyocd-pemicro" ];
|
|
||||||
|
pythonRemoveDeps = [
|
||||||
|
"pyocd-pemicro"
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
asn1crypto
|
asn1crypto
|
||||||
|
@ -76,6 +66,7 @@ buildPythonPackage rec {
|
||||||
bincopy
|
bincopy
|
||||||
bitstring
|
bitstring
|
||||||
click
|
click
|
||||||
|
click-command-tree
|
||||||
click-option-group
|
click-option-group
|
||||||
cmsis-pack-manager
|
cmsis-pack-manager
|
||||||
commentjson
|
commentjson
|
||||||
|
@ -101,12 +92,6 @@ buildPythonPackage rec {
|
||||||
voluptuous
|
voluptuous
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
# tests also fail on debian, so presumable they are broken
|
|
||||||
"test_elftosb_mbi_signed"
|
|
||||||
"test_elftosb_sb31"
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "spsdk" ];
|
pythonImportsCheck = [ "spsdk" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zadnegoale";
|
pname = "zadnegoale";
|
||||||
version = "0.6.5";
|
version = "0.7.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||||
owner = "bieniu";
|
owner = "bieniu";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-ubBN4jvueNgReNbS+RXNDNHID0MF/rvQnb0+F4/DZaU=";
|
hash = "sha256-ij8xou8LXC4/BUTApIV6xSgb7ethwLyrHNJvBgxSBYM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -45,6 +45,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python wrapper for getting allergen concentration data from Żadnego Ale servers";
|
description = "Python wrapper for getting allergen concentration data from Żadnego Ale servers";
|
||||||
homepage = "https://github.com/bieniu/zadnegoale";
|
homepage = "https://github.com/bieniu/zadnegoale";
|
||||||
|
changelog = "https://github.com/bieniu/zadnegoale/releases/tag/${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,23 +1,30 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "hjson-go";
|
pname = "hjson-go";
|
||||||
version = "4.2.0";
|
version = "4.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hjson";
|
owner = "hjson";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-bw8dQKwHqEzBpDT+59XjzhxDrA3R0OiEUyIWMULuAQI=";
|
hash = "sha256-WR6wLa/Za5MgcH1enHG/74uq/7PdaY/OzvJdgMgDFIk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Utility to convert JSON to and from HJSON";
|
description = "Utility to convert JSON to and from HJSON";
|
||||||
homepage = "https://hjson.github.io/";
|
homepage = "https://hjson.github.io/";
|
||||||
|
changelog = "https://github.com/hjson/hjson-go/releases/tag/v${version}";
|
||||||
maintainers = with maintainers; [ ehmry ];
|
maintainers = with maintainers; [ ehmry ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
mainProgram = "hjson-cli";
|
mainProgram = "hjson-cli";
|
||||||
|
|
|
@ -7,16 +7,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "packer";
|
pname = "packer";
|
||||||
version = "1.8.4";
|
version = "1.8.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hashicorp";
|
owner = "hashicorp";
|
||||||
repo = "packer";
|
repo = "packer";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-m8PKigVm46PN55hchc5a1OUUuhxoGn3e2sMRqqvkPgs=";
|
sha256 = "sha256-jdJD7AW4IrzVl4BPdsFFrRSdCWX9l4nFM+DWIuxLiJ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-hSZCYSV7nMGd5KQsV+Z4ig7vk4j8cZnOvsg0DqPiEvg=";
|
vendorSha256 = "sha256-ufvWgusTMbM88F3BkJ61KM2wRSdqPOlMKqDSYf7tZQA=";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
|
43
pkgs/misc/superd/default.nix
Normal file
43
pkgs/misc/superd/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromSourcehut
|
||||||
|
, installShellFiles
|
||||||
|
, scdoc
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "superd";
|
||||||
|
version = "0.7";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~craftyguy";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-XSB6qgepWhus15lOP9GzbiNoOCSsy6xLij7ic3LFs1E=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-Oa99U3THyWLjH+kWMQAHO5QAS2mmtY7M7leej+gnEqo=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
installShellFiles
|
||||||
|
scdoc
|
||||||
|
];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
make doc
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage superd.1 superd.service.5 superctl.1
|
||||||
|
installShellCompletion --bash completions/bash/superctl
|
||||||
|
installShellCompletion --zsh completions/zsh/superctl
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Unprivileged user service supervisor";
|
||||||
|
homepage = "https://sr.ht/~craftyguy/superd/";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ chuangzhu wentam ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16,7 +16,7 @@
|
||||||
, nasm
|
, nasm
|
||||||
, ocaml
|
, ocaml
|
||||||
, ocamlPackages
|
, ocamlPackages
|
||||||
, openssl
|
, openssl_1_1
|
||||||
, perl
|
, perl
|
||||||
, python3
|
, python3
|
||||||
, texinfo
|
, texinfo
|
||||||
|
@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libtool
|
libtool
|
||||||
openssl
|
openssl_1_1
|
||||||
];
|
];
|
||||||
|
|
||||||
BINUTILS_DIR = "${binutils}/bin";
|
BINUTILS_DIR = "${binutils}/bin";
|
||||||
|
|
|
@ -1,28 +1,39 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, git, fzf }:
|
{ stdenv, lib, bash, fetchFromGitHub, makeWrapper, fzf, git }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "zsh-forgit";
|
pname = "zsh-forgit";
|
||||||
version = "22.11.0";
|
version = "22.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wfxr";
|
owner = "wfxr";
|
||||||
repo = "forgit";
|
repo = "forgit";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "ca7EM/F0Spsdr3MbjIVwbjLVXg6/qWGczBQHLCcpU5A=";
|
sha256 = "0juBNUJW4SU3Cl6ouD+xMYzlCJOL7NAYpueZ6V56/ck=";
|
||||||
};
|
};
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace forgit.plugin.zsh \
|
substituteInPlace forgit.plugin.zsh \
|
||||||
--replace "fzf " "${fzf}/bin/fzf " \
|
--replace "\$INSTALL_DIR/bin/git-forgit" "$out/bin/git-forgit"
|
||||||
--replace "git " "${git}/bin/git "
|
|
||||||
|
substituteInPlace bin/git-forgit \
|
||||||
|
--replace "/bin/bash" "${bash}/bin/bash"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -D bin/git-forgit $out/bin/git-forgit
|
||||||
install -D forgit.plugin.zsh $out/share/zsh/${pname}/forgit.plugin.zsh
|
install -D forgit.plugin.zsh $out/share/zsh/${pname}/forgit.plugin.zsh
|
||||||
|
wrapProgram $out/bin/git-forgit \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ fzf git ]}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
31
pkgs/tools/misc/ea/default.nix
Normal file
31
pkgs/tools/misc/ea/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "dduan";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dduan";
|
||||||
|
repo = "ea";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "VXSSe5d7VO3LfjumzN9a7rrKRedOtOzTdLVQWgV1ED8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-QNj24qKZFqG4QXG6rIFV2Y/BNPTXt7HaX7smsJRrdzg=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
libiconv
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage docs/ea.1
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Makes file paths from CLI output actionable";
|
||||||
|
homepage = "https://github.com/dduan/ea";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ deejayem ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,22 +2,26 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "reuse";
|
pname = "reuse";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fsfe";
|
owner = "fsfe";
|
||||||
repo = "reuse-tool";
|
repo = "reuse-tool";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0yplsbd5251s8cabazbdqb00jqv8ibbgal7fhj5pfxv5lsz17vkv";
|
hash = "sha256-bjUDImMFwMhRjCa7XzGlqR8h+KfTsyxonrQlRGgApwo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = with python3Packages; [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
binaryornot
|
binaryornot
|
||||||
boolean-py
|
boolean-py
|
||||||
debian
|
debian
|
||||||
jinja2
|
jinja2
|
||||||
license-expression
|
license-expression
|
||||||
requests
|
|
||||||
setuptools
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
@ -28,6 +32,6 @@ python3Packages.buildPythonApplication rec {
|
||||||
description = "A tool for compliance with the REUSE Initiative recommendations";
|
description = "A tool for compliance with the REUSE Initiative recommendations";
|
||||||
homepage = "https://github.com/fsfe/reuse-tool";
|
homepage = "https://github.com/fsfe/reuse-tool";
|
||||||
license = with licenses; [ asl20 cc-by-sa-40 cc0 gpl3Plus ];
|
license = with licenses; [ asl20 cc-by-sa-40 cc0 gpl3Plus ];
|
||||||
maintainers = [ maintainers.FlorianFranzen ];
|
maintainers = with maintainers; [ FlorianFranzen Luflosi ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -468,6 +468,8 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ea = callPackage ../tools/misc/ea { };
|
||||||
|
|
||||||
each = callPackage ../tools/text/each { };
|
each = callPackage ../tools/text/each { };
|
||||||
|
|
||||||
eclipse-mat = callPackage ../development/tools/eclipse-mat { };
|
eclipse-mat = callPackage ../development/tools/eclipse-mat { };
|
||||||
|
@ -1962,7 +1964,9 @@ with pkgs;
|
||||||
|
|
||||||
dlx = callPackage ../applications/emulators/dlx { };
|
dlx = callPackage ../applications/emulators/dlx { };
|
||||||
|
|
||||||
dosbox = callPackage ../applications/emulators/dosbox { };
|
dosbox = callPackage ../applications/emulators/dosbox {
|
||||||
|
SDL = if stdenv.isDarwin then SDL else SDL_compat;
|
||||||
|
};
|
||||||
|
|
||||||
dosbox-staging = callPackage ../applications/emulators/dosbox-staging { };
|
dosbox-staging = callPackage ../applications/emulators/dosbox-staging { };
|
||||||
|
|
||||||
|
@ -12201,6 +12205,8 @@ with pkgs;
|
||||||
|
|
||||||
threema-desktop = callPackage ../applications/networking/instant-messengers/threema-desktop { };
|
threema-desktop = callPackage ../applications/networking/instant-messengers/threema-desktop { };
|
||||||
|
|
||||||
|
thumbdrives = callPackage ../applications/system/thumbdrives { };
|
||||||
|
|
||||||
tidy-viewer = callPackage ../tools/text/tidy-viewer { };
|
tidy-viewer = callPackage ../tools/text/tidy-viewer { };
|
||||||
|
|
||||||
tiled = libsForQt5.callPackage ../applications/editors/tiled { };
|
tiled = libsForQt5.callPackage ../applications/editors/tiled { };
|
||||||
|
@ -18783,6 +18789,8 @@ with pkgs;
|
||||||
|
|
||||||
croaring = callPackage ../development/libraries/croaring { };
|
croaring = callPackage ../development/libraries/croaring { };
|
||||||
|
|
||||||
|
crocoddyl = callPackage ../development/libraries/crocoddyl { };
|
||||||
|
|
||||||
crossguid = callPackage ../development/libraries/crossguid { };
|
crossguid = callPackage ../development/libraries/crossguid { };
|
||||||
|
|
||||||
cryptopp = callPackage ../development/libraries/crypto++ { };
|
cryptopp = callPackage ../development/libraries/crypto++ { };
|
||||||
|
@ -18954,6 +18962,8 @@ with pkgs;
|
||||||
|
|
||||||
liberasurecode = callPackage ../applications/misc/liberasurecode { };
|
liberasurecode = callPackage ../applications/misc/liberasurecode { };
|
||||||
|
|
||||||
|
example-robot-data = callPackage ../development/libraries/example-robot-data { };
|
||||||
|
|
||||||
exiv2 = callPackage ../development/libraries/exiv2 { };
|
exiv2 = callPackage ../development/libraries/exiv2 { };
|
||||||
|
|
||||||
expat = callPackage ../development/libraries/expat { };
|
expat = callPackage ../development/libraries/expat { };
|
||||||
|
@ -22046,6 +22056,8 @@ with pkgs;
|
||||||
|
|
||||||
pico-sdk = callPackage ../development/libraries/pico-sdk { };
|
pico-sdk = callPackage ../development/libraries/pico-sdk { };
|
||||||
|
|
||||||
|
pinocchio = callPackage ../development/libraries/pinocchio { };
|
||||||
|
|
||||||
pipelight = callPackage ../tools/misc/pipelight {
|
pipelight = callPackage ../tools/misc/pipelight {
|
||||||
stdenv = stdenv_32bit;
|
stdenv = stdenv_32bit;
|
||||||
wine-staging = pkgsi686Linux.wine-staging;
|
wine-staging = pkgsi686Linux.wine-staging;
|
||||||
|
@ -22929,6 +22941,8 @@ with pkgs;
|
||||||
|
|
||||||
tomlcpp = callPackage ../development/libraries/tomlcpp { };
|
tomlcpp = callPackage ../development/libraries/tomlcpp { };
|
||||||
|
|
||||||
|
toml11 = callPackage ../development/libraries/toml11 { };
|
||||||
|
|
||||||
tomlplusplus = callPackage ../development/libraries/tomlplusplus { };
|
tomlplusplus = callPackage ../development/libraries/tomlplusplus { };
|
||||||
|
|
||||||
tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { };
|
tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { };
|
||||||
|
@ -29293,6 +29307,8 @@ with pkgs;
|
||||||
|
|
||||||
hdhomerun-config-gui = callPackage ../applications/video/hdhomerun-config-gui { };
|
hdhomerun-config-gui = callPackage ../applications/video/hdhomerun-config-gui { };
|
||||||
|
|
||||||
|
headlines = callPackage ../applications/networking/headlines { };
|
||||||
|
|
||||||
hedgedoc-cli = callPackage ../tools/admin/hedgedoc-cli { };
|
hedgedoc-cli = callPackage ../tools/admin/hedgedoc-cli { };
|
||||||
|
|
||||||
heimer = libsForQt5.callPackage ../applications/misc/heimer { };
|
heimer = libsForQt5.callPackage ../applications/misc/heimer { };
|
||||||
|
@ -37137,6 +37153,8 @@ with pkgs;
|
||||||
|
|
||||||
stork = callPackage ../applications/misc/stork { };
|
stork = callPackage ../applications/misc/stork { };
|
||||||
|
|
||||||
|
superd = callPackage ../misc/superd { };
|
||||||
|
|
||||||
oclgrind = callPackage ../development/tools/analysis/oclgrind { };
|
oclgrind = callPackage ../development/tools/analysis/oclgrind { };
|
||||||
|
|
||||||
opkg = callPackage ../tools/package-management/opkg { };
|
opkg = callPackage ../tools/package-management/opkg { };
|
||||||
|
|
|
@ -1756,6 +1756,8 @@ self: super: with self; {
|
||||||
|
|
||||||
clickclick = callPackage ../development/python-modules/clickclick { };
|
clickclick = callPackage ../development/python-modules/clickclick { };
|
||||||
|
|
||||||
|
click-command-tree = callPackage ../development/python-modules/click-command-tree { };
|
||||||
|
|
||||||
click-completion = callPackage ../development/python-modules/click-completion { };
|
click-completion = callPackage ../development/python-modules/click-completion { };
|
||||||
|
|
||||||
click-configfile = callPackage ../development/python-modules/click-configfile { };
|
click-configfile = callPackage ../development/python-modules/click-configfile { };
|
||||||
|
@ -2022,6 +2024,11 @@ self: super: with self; {
|
||||||
|
|
||||||
criticality-score = callPackage ../development/python-modules/criticality-score { };
|
criticality-score = callPackage ../development/python-modules/criticality-score { };
|
||||||
|
|
||||||
|
crocoddyl = toPythonModule (callPackage ../development/libraries/crocoddyl {
|
||||||
|
pythonSupport = true;
|
||||||
|
python3Packages = self;
|
||||||
|
});
|
||||||
|
|
||||||
cron-descriptor = callPackage ../development/python-modules/cron-descriptor { };
|
cron-descriptor = callPackage ../development/python-modules/cron-descriptor { };
|
||||||
|
|
||||||
croniter = callPackage ../development/python-modules/croniter { };
|
croniter = callPackage ../development/python-modules/croniter { };
|
||||||
|
@ -2887,6 +2894,8 @@ self: super: with self; {
|
||||||
|
|
||||||
eggdeps = callPackage ../development/python-modules/eggdeps { };
|
eggdeps = callPackage ../development/python-modules/eggdeps { };
|
||||||
|
|
||||||
|
eigenpy = toPythonModule (callPackage ../development/python-modules/eigenpy { });
|
||||||
|
|
||||||
einops = callPackage ../development/python-modules/einops { };
|
einops = callPackage ../development/python-modules/einops { };
|
||||||
|
|
||||||
eiswarnung = callPackage ../development/python-modules/eiswarnung { };
|
eiswarnung = callPackage ../development/python-modules/eiswarnung { };
|
||||||
|
@ -3058,6 +3067,11 @@ self: super: with self; {
|
||||||
|
|
||||||
ewmh = callPackage ../development/python-modules/ewmh { };
|
ewmh = callPackage ../development/python-modules/ewmh { };
|
||||||
|
|
||||||
|
example-robot-data = toPythonModule (pkgs.example-robot-data.override {
|
||||||
|
pythonSupport = true;
|
||||||
|
python3Packages = self;
|
||||||
|
});
|
||||||
|
|
||||||
exdown = callPackage ../development/python-modules/exdown { };
|
exdown = callPackage ../development/python-modules/exdown { };
|
||||||
|
|
||||||
exceptiongroup = callPackage ../development/python-modules/exceptiongroup { };
|
exceptiongroup = callPackage ../development/python-modules/exceptiongroup { };
|
||||||
|
@ -6955,6 +6969,11 @@ self: super: with self; {
|
||||||
|
|
||||||
pinboard = callPackage ../development/python-modules/pinboard { };
|
pinboard = callPackage ../development/python-modules/pinboard { };
|
||||||
|
|
||||||
|
pinocchio = toPythonModule (pkgs.pinocchio.override {
|
||||||
|
pythonSupport = true;
|
||||||
|
python3Packages = self;
|
||||||
|
});
|
||||||
|
|
||||||
pint = callPackage ../development/python-modules/pint { };
|
pint = callPackage ../development/python-modules/pint { };
|
||||||
|
|
||||||
pint-pandas = callPackage ../development/python-modules/pint-pandas { };
|
pint-pandas = callPackage ../development/python-modules/pint-pandas { };
|
||||||
|
|
Loading…
Reference in a new issue