Merge staging-next into staging
This commit is contained in:
commit
1f284f93a5
@ -15,32 +15,23 @@ case of packages not containing exported library code the attribute
|
|||||||
The following example shows a Nim program that depends only on Nim libraries:
|
The following example shows a Nim program that depends only on Nim libraries:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{ lib, nimPackages, fetchurl }:
|
{ lib, nimPackages, fetchFromGitHub }:
|
||||||
|
|
||||||
nimPackages.buildNimPackage rec {
|
|
||||||
pname = "hottext";
|
|
||||||
version = "1.4";
|
|
||||||
|
|
||||||
|
nimPackages.buildNimPackage (finalAttrs: {
|
||||||
|
pname = "ttop";
|
||||||
|
version = "1.0.1";
|
||||||
nimBinOnly = true;
|
nimBinOnly = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://git.sr.ht/~ehmry/hottext/archive/v${version}.tar.gz";
|
owner = "inv2004";
|
||||||
hash = "sha256-hIUofi81zowSMbt1lUsxCnVzfJGN3FEiTtN8CEFpwzY=";
|
repo = "ttop";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-x4Uczksh6p3XX/IMrOFtBxIleVHdAPX9e8n32VAUTC4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with nimPackages; [
|
buildInputs = with nimPackages; [ asciigraph illwill parsetoml zippy ];
|
||||||
bumpy
|
|
||||||
chroma
|
|
||||||
flatty
|
|
||||||
nimsimd
|
|
||||||
pixie
|
|
||||||
sdl2
|
|
||||||
typography
|
|
||||||
vmath
|
|
||||||
zippy
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
## Nim library packages in Nixpkgs {#nim-library-packages-in-nixpkgs}
|
## Nim library packages in Nixpkgs {#nim-library-packages-in-nixpkgs}
|
||||||
@ -60,15 +51,16 @@ non-Nim package:
|
|||||||
```nix
|
```nix
|
||||||
{ lib, buildNimPackage, fetchNimble, SDL2 }:
|
{ lib, buildNimPackage, fetchNimble, SDL2 }:
|
||||||
|
|
||||||
buildNimPackage rec {
|
buildNimPackage (finalAttrs: {
|
||||||
pname = "sdl2";
|
pname = "sdl2";
|
||||||
version = "2.0.4";
|
version = "2.0.4";
|
||||||
src = fetchNimble {
|
src = fetchNimble {
|
||||||
inherit pname version;
|
inherit (finalAttrs) pname version;
|
||||||
hash = "sha256-qDtVSnf+7rTq36WAxgsUZ8XoUk4sKwHyt8EJcY5WP+o=";
|
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [ SDL2 ];
|
propagatedBuildInputs = [ SDL2 ];
|
||||||
}
|
doCheck = true;
|
||||||
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
## `buildNimPackage` parameters {#buildnimpackage-parameters}
|
## `buildNimPackage` parameters {#buildnimpackage-parameters}
|
||||||
|
@ -553,7 +553,7 @@ In addition to numerous new and updated packages, this release has the following
|
|||||||
|
|
||||||
- `buildDunePackage` now defaults to `strictDeps = true` which means that any library should go into `buildInputs` or `checkInputs`. Any executable that is run on the building machine should go into `nativeBuildInputs` or `nativeCheckInputs` respectively. Example of executables are `ocaml`, `findlib` and `menhir`. PPXs are libraries which are built by dune and should therefore not go into `nativeBuildInputs`.
|
- `buildDunePackage` now defaults to `strictDeps = true` which means that any library should go into `buildInputs` or `checkInputs`. Any executable that is run on the building machine should go into `nativeBuildInputs` or `nativeCheckInputs` respectively. Example of executables are `ocaml`, `findlib` and `menhir`. PPXs are libraries which are built by dune and should therefore not go into `nativeBuildInputs`.
|
||||||
|
|
||||||
- `buildFHSUserEnv` is now called `buildFHSEnv` and uses FlatPak's Bubblewrap sandboxing tool rather than Nixpkgs' own chrootenv. The old chrootenv-based implemenation is still available via `buildFHSEnvChrootenv` but is considered deprecated and will be removed when the remaining uses inside Nixpkgs have been migrated. If your FHSEnv-wrapped application misbehaves when using the new bubblewrap implementation, please create an issue in Nixpkgs.
|
- `buildFHSUserEnv` is now called `buildFHSEnv` and uses FlatPak's Bubblewrap sandboxing tool rather than Nixpkgs' own chrootenv. The old chrootenv-based implemenation is still available via `buildFHSEnvChroot` but is considered deprecated and will be removed when the remaining uses inside Nixpkgs have been migrated. If your FHSEnv-wrapped application misbehaves when using the new bubblewrap implementation, please create an issue in Nixpkgs.
|
||||||
|
|
||||||
- Top-level `buildPlatform`, `hostPlatform`, `targetPlatform` have been deprecated, use `stdenv.X` instead.
|
- Top-level `buildPlatform`, `hostPlatform`, `targetPlatform` have been deprecated, use `stdenv.X` instead.
|
||||||
|
|
||||||
|
@ -381,7 +381,8 @@ in {
|
|||||||
type = types.str;
|
type = types.str;
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
The full path to a file that contains the admin's password. Must be
|
The full path to a file that contains the admin's password. Must be
|
||||||
readable by user `nextcloud`.
|
readable by user `nextcloud`. The password is set only in the initial
|
||||||
|
setup of nextcloud by the systemd `nextcloud-setup.service`.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -58,14 +58,14 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ardour";
|
pname = "ardour";
|
||||||
version = "7.3";
|
version = "7.4";
|
||||||
|
|
||||||
# We can't use `fetchFromGitea` here, as attempting to fetch release archives from git.ardour.org
|
# We can't use `fetchFromGitea` here, as attempting to fetch release archives from git.ardour.org
|
||||||
# result in an empty archive. See https://tracker.ardour.org/view.php?id=7328 for more info.
|
# result in an empty archive. See https://tracker.ardour.org/view.php?id=7328 for more info.
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "git://git.ardour.org/ardour/ardour.git";
|
url = "git://git.ardour.org/ardour/ardour.git";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-fDZGmKQ6qgENkq8NY/J67Jym+IXoOYs8DT4xyPXLcC4=";
|
hash = "sha256-CUGhJi3ji0F6v41Y08sQvo7oKITOJ96ojdJL+FyCxmw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
bundledContent = fetchzip {
|
bundledContent = fetchzip {
|
||||||
|
@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "lnd";
|
pname = "lnd";
|
||||||
version = "0.16.2-beta";
|
version = "0.16.3-beta";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lightningnetwork";
|
owner = "lightningnetwork";
|
||||||
repo = "lnd";
|
repo = "lnd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-s0m/aS99uB6LZb0+73SQ++mF0Ukg6IYIL+jbEi8ezW0=";
|
hash = "sha256-/seSpWnlQmeU4vQtlHMOSedPXP9HJp1GyxcB1LqHayA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-7Ydl56Z6aOMBQ1RamFzjD/yp3zgQLkF5WEoOQe1Urv0=";
|
vendorHash = "sha256-obrSVMqTwHe7231wa0OuoT6ANBqkQbkHIy93J2f68Zk=";
|
||||||
|
|
||||||
subPackages = [ "cmd/lncli" "cmd/lnd" ];
|
subPackages = [ "cmd/lncli" "cmd/lnd" ];
|
||||||
|
|
||||||
|
@ -7,10 +7,12 @@
|
|||||||
, intltool
|
, intltool
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
, cinnamon
|
||||||
, lightdm
|
, lightdm
|
||||||
, gtk3
|
, gtk3
|
||||||
, pixman
|
, pixman
|
||||||
, libcanberra
|
, libcanberra
|
||||||
|
, libgnomekbd
|
||||||
, libX11
|
, libX11
|
||||||
, libXext
|
, libXext
|
||||||
, linkFarm
|
, linkFarm
|
||||||
@ -20,13 +22,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lightdm-slick-greeter";
|
pname = "lightdm-slick-greeter";
|
||||||
version = "1.6.1";
|
version = "1.8.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxmint";
|
owner = "linuxmint";
|
||||||
repo = "slick-greeter";
|
repo = "slick-greeter";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-k/E3bR63kesHQ/we+ctC0UEYE5YdZ6Lv5lYuXqCOvKA=";
|
sha256 = "sha256-40RyGWn32ppPjsuPljGBO6o7bu2rKYBweDycRS7xAVA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -40,10 +42,12 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
cinnamon.xapp
|
||||||
lightdm
|
lightdm
|
||||||
gtk3
|
gtk3
|
||||||
pixman
|
pixman
|
||||||
libcanberra
|
libcanberra
|
||||||
|
libgnomekbd # needed by XApp.KbdLayoutController
|
||||||
libX11
|
libX11
|
||||||
libXext
|
libXext
|
||||||
];
|
];
|
||||||
@ -62,6 +66,10 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace src/session-list.vala \
|
substituteInPlace src/session-list.vala \
|
||||||
--replace "/usr/share" "${placeholder "out"}/share"
|
--replace "/usr/share" "${placeholder "out"}/share"
|
||||||
|
|
||||||
|
# We prefer stable path here.
|
||||||
|
substituteInPlace data/x.dm.slick-greeter.gschema.xml \
|
||||||
|
--replace "/usr/share/onboard" "/run/current-system/sw/share/onboard"
|
||||||
|
|
||||||
patchShebangs files/usr/bin/*
|
patchShebangs files/usr/bin/*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
, withWebP ? lib.versionAtLeast version "29"
|
, withWebP ? lib.versionAtLeast version "29"
|
||||||
, withX ? !(stdenv.isDarwin || noGui || withPgtk)
|
, withX ? !(stdenv.isDarwin || noGui || withPgtk)
|
||||||
, withXinput2 ? withX && lib.versionAtLeast version "29"
|
, withXinput2 ? withX && lib.versionAtLeast version "29"
|
||||||
, withXwidgets ? !noGui && (withGTK3 || withPgtk)
|
, withXwidgets ? !stdenv.isDarwin && !noGui && (withGTK3 || withPgtk)
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
, siteStart ? ./site-start.el
|
, siteStart ? ./site-start.el
|
||||||
|
@ -16,11 +16,18 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
hash = "sha256-dArR1z3wkGDd3Y1WHK0sLjhuaKHAcsx6cCH2rgVdUGs=";
|
hash = "sha256-dArR1z3wkGDd3Y1WHK0sLjhuaKHAcsx6cCH2rgVdUGs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
pythonRelaxDeps = [
|
||||||
substituteInPlace setup.py \
|
"rich"
|
||||||
--replace "mlflow-skinny>=1.28.0,<3.0.0" "mlflow" \
|
"typer"
|
||||||
--replace "rich==12.6.0" "rich"
|
];
|
||||||
'';
|
|
||||||
|
pythonRemoveDeps = [
|
||||||
|
"mlflow-skinny"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
aiohttp
|
aiohttp
|
||||||
|
@ -17,13 +17,13 @@ let
|
|||||||
'';
|
'';
|
||||||
in mkDerivation rec {
|
in mkDerivation rec {
|
||||||
pname = "deadd-notification-center";
|
pname = "deadd-notification-center";
|
||||||
version = "unstable-2022-11-07";
|
version = "2.0.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "phuhl";
|
owner = "phuhl";
|
||||||
repo = "linux_notification_center";
|
repo = "linux_notification_center";
|
||||||
rev = "f4b8e2b724d86def9e7b0e12ea624f95760352d5";
|
rev = "${version}";
|
||||||
hash = "sha256-ClJfWqStULvmj5YRAUDAmn2WOSA2sVtyZsa+qSY51Gk=";
|
hash = "sha256-OM4zzKdo0HMvzAl7BG9IuSHmTauSC5rLWoJJOAshDYg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
isLibrary = false;
|
isLibrary = false;
|
||||||
@ -31,11 +31,11 @@ in mkDerivation rec {
|
|||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
|
|
||||||
libraryHaskellDepends = with haskellPackages; [
|
libraryHaskellDepends = with haskellPackages; [
|
||||||
base bytestring ConfigFile containers dbus directory env-locale
|
aeson base bytestring ConfigFile containers dbus directory env-locale
|
||||||
filepath gi-cairo gi-gdk gi-gdkpixbuf gi-gio gi-glib gi-gobject
|
filepath gi-cairo gi-gdk gi-gdkpixbuf gi-gio gi-glib gi-gobject
|
||||||
gi-gtk gi-pango haskell-gettext haskell-gi haskell-gi-base
|
gi-gtk gi-pango haskell-gettext haskell-gi haskell-gi-base
|
||||||
hdaemonize here lens mtl process regex-tdfa setlocale split stm
|
hdaemonize here lens mtl process regex-tdfa setlocale split stm
|
||||||
tagsoup text time transformers tuple unix
|
tagsoup text time transformers tuple unix yaml
|
||||||
];
|
];
|
||||||
|
|
||||||
executableHaskellDepends = with haskellPackages; [ base ];
|
executableHaskellDepends = with haskellPackages; [ base ];
|
||||||
|
@ -31,7 +31,7 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "feedbackd";
|
pname = "feedbackd";
|
||||||
version = "0.1.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
@ -40,17 +40,10 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "Librem5";
|
owner = "Librem5";
|
||||||
repo = "feedbackd";
|
repo = "feedbackd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-7H5Ah4zo+wLKd0WoKoOgtIm7HcUSw8PTf/KzBlY75oc=";
|
hash = "sha256-l5rfMx3ElW25A5WVqzfKBp57ebaNC9msqV7mvnwv10s=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch2 {
|
|
||||||
url = "https://source.puri.sm/Librem5/feedbackd/-/merge_requests/109.patch";
|
|
||||||
hash = "sha256-z3Ud6P2GHYOaGA2vJDD3Sz47+M8p0VcYZ5gbYcGydMk=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
depsBuildBuild = [
|
depsBuildBuild = [
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
@ -52,7 +52,7 @@ let
|
|||||||
});
|
});
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "phoc";
|
pname = "phoc";
|
||||||
version = "0.25.0";
|
version = "0.27.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
@ -60,7 +60,7 @@ in stdenv.mkDerivation rec {
|
|||||||
owner = "Phosh";
|
owner = "Phosh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-1cbv4vzQ+RcRoT1pOT8Q0nxuZzKUlec38KCNMYaceeE=";
|
sha256 = "sha256-4/Fxo72KXLy3gxXMS+PrTUbZl0EFt2GPMXg8+/fE7MY=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -16,8 +16,13 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-z7LiAq2jLzqjg4Q/r9o7M6VbedeT34NyPpgctfqBp+8=";
|
hash = "sha256-z7LiAq2jLzqjg4Q/r9o7M6VbedeT34NyPpgctfqBp+8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"typer"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -30,14 +30,14 @@ https://github.com/NixOS/nixpkgs/issues/199596#issuecomment-1310136382 */
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
version = "1.4.1";
|
version = "1.4.3";
|
||||||
pname = "syncthingtray";
|
pname = "syncthingtray";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Martchus";
|
owner = "Martchus";
|
||||||
repo = "syncthingtray";
|
repo = "syncthingtray";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-6s78vytYxU7FWGQRO56qgmtZBlHbXMz3iVAbBXycDmI=";
|
sha256 = "sha256-6J/P/DDD17QtXAISQn77EDIYqQu1hY7EnIX0FC6H/20=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -22,14 +22,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "valent";
|
pname = "valent";
|
||||||
version = "unstable-2023-05-01";
|
version = "unstable-2023-06-11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "andyholmes";
|
owner = "andyholmes";
|
||||||
repo = "valent";
|
repo = "valent";
|
||||||
rev = "74f5d9349a60f0d9fcf88cda01713980a221d639";
|
rev = "e6a121efa7eb7b432517d610de4deea6dfa876b0";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-wqdujEKizrDFXtsjSTWpFgDL7MH3tsLTc7yd3LFgIQU=";
|
hash = "sha256-8X4Yu8VY5ehptJN1KtsCuoECtEZNLZMzOvU91j8UmDk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -110,13 +110,13 @@
|
|||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
"aws": {
|
"aws": {
|
||||||
"hash": "sha256-hu4+FAqub+dah9is4iCyy784L8kIiFqkyrcZzll8LoU=",
|
"hash": "sha256-+0La1Gx8uBnz5WEidTfW5yqyNT2Ii+UaJJxWh05VAks=",
|
||||||
"homepage": "https://registry.terraform.io/providers/hashicorp/aws",
|
"homepage": "https://registry.terraform.io/providers/hashicorp/aws",
|
||||||
"owner": "hashicorp",
|
"owner": "hashicorp",
|
||||||
"repo": "terraform-provider-aws",
|
"repo": "terraform-provider-aws",
|
||||||
"rev": "v5.2.0",
|
"rev": "v5.3.0",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": "sha256-y4JNZ4cMqXwvRNys+llQNGw91EuU/dzGY6Ifs/0cX8c="
|
"vendorHash": "sha256-stvcLz/5DosG+c9syv5i2diTp8cCnCMfW1vngsXl7fQ="
|
||||||
},
|
},
|
||||||
"azuread": {
|
"azuread": {
|
||||||
"hash": "sha256-wBNS2a6O1QJgssbAWhSRSfxaVZ35zgT/qNdpE++NQ8U=",
|
"hash": "sha256-wBNS2a6O1QJgssbAWhSRSfxaVZ35zgT/qNdpE++NQ8U=",
|
||||||
@ -128,11 +128,11 @@
|
|||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
"azurerm": {
|
"azurerm": {
|
||||||
"hash": "sha256-OEybd46MRwtxnE11oy6KKg9uEqkzzUxrrMwbF0RkjUg=",
|
"hash": "sha256-YrAEwWHlxh8e0uH9UEy7F5wZkOzbqXUfy2g2uVwBrxA=",
|
||||||
"homepage": "https://registry.terraform.io/providers/hashicorp/azurerm",
|
"homepage": "https://registry.terraform.io/providers/hashicorp/azurerm",
|
||||||
"owner": "hashicorp",
|
"owner": "hashicorp",
|
||||||
"repo": "terraform-provider-azurerm",
|
"repo": "terraform-provider-azurerm",
|
||||||
"rev": "v3.60.0",
|
"rev": "v3.61.0",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
@ -381,11 +381,11 @@
|
|||||||
"vendorHash": "sha256-E1gzdES/YVxQq2J47E2zosvud2C/ViBeQ8+RfNHMBAg="
|
"vendorHash": "sha256-E1gzdES/YVxQq2J47E2zosvud2C/ViBeQ8+RfNHMBAg="
|
||||||
},
|
},
|
||||||
"fastly": {
|
"fastly": {
|
||||||
"hash": "sha256-zjeiA09kTc9qE+YGGrmMhken7oh3pX309t6VKE/fKN0=",
|
"hash": "sha256-ZskfmyYqUFa848uAl+ejBUaYiD0dWdwUyWBw5TKRrHg=",
|
||||||
"homepage": "https://registry.terraform.io/providers/fastly/fastly",
|
"homepage": "https://registry.terraform.io/providers/fastly/fastly",
|
||||||
"owner": "fastly",
|
"owner": "fastly",
|
||||||
"repo": "terraform-provider-fastly",
|
"repo": "terraform-provider-fastly",
|
||||||
"rev": "v5.0.0",
|
"rev": "v5.1.0",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
@ -484,13 +484,13 @@
|
|||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
"hcloud": {
|
"hcloud": {
|
||||||
"hash": "sha256-aqx6oMIqMUgpVMInZPxGFPT9i+pBdU3ufjM6YUSiOss=",
|
"hash": "sha256-PAsXAZMCo4mXLLh2h40xN9SuTnCnScwdjAT2j5HvNrI=",
|
||||||
"homepage": "https://registry.terraform.io/providers/hetznercloud/hcloud",
|
"homepage": "https://registry.terraform.io/providers/hetznercloud/hcloud",
|
||||||
"owner": "hetznercloud",
|
"owner": "hetznercloud",
|
||||||
"repo": "terraform-provider-hcloud",
|
"repo": "terraform-provider-hcloud",
|
||||||
"rev": "v1.39.0",
|
"rev": "v1.40.0",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": "sha256-qa6DUmzL+JB/WTJM+a5VDvBCsrbt8gq/LeqzdAHLm0Q="
|
"vendorHash": "sha256-dORrQ0gmSLOfyPOuFE84h9OkFI9yslRBfYhwnZM3iQc="
|
||||||
},
|
},
|
||||||
"helm": {
|
"helm": {
|
||||||
"hash": "sha256-mGrQ5YKNsv1+Vkan5ohMXnTYofhCQPuTFjemXF/g+tA=",
|
"hash": "sha256-mGrQ5YKNsv1+Vkan5ohMXnTYofhCQPuTFjemXF/g+tA=",
|
||||||
@ -539,11 +539,11 @@
|
|||||||
"vendorHash": "sha256-73Hpp4OLJyFmbiczVmFzCi++W0te6G9LSb8LhNwSDUg="
|
"vendorHash": "sha256-73Hpp4OLJyFmbiczVmFzCi++W0te6G9LSb8LhNwSDUg="
|
||||||
},
|
},
|
||||||
"huaweicloud": {
|
"huaweicloud": {
|
||||||
"hash": "sha256-2N8BmYd/8Mf65ARYeQcbMKLjNlxP6uZe+3+lsNZbiZg=",
|
"hash": "sha256-ullp0qBo2BFokbXMek5Y5s7qN2Ig3L5ekXSlbLhvrWU=",
|
||||||
"homepage": "https://registry.terraform.io/providers/huaweicloud/huaweicloud",
|
"homepage": "https://registry.terraform.io/providers/huaweicloud/huaweicloud",
|
||||||
"owner": "huaweicloud",
|
"owner": "huaweicloud",
|
||||||
"repo": "terraform-provider-huaweicloud",
|
"repo": "terraform-provider-huaweicloud",
|
||||||
"rev": "v1.49.0",
|
"rev": "v1.50.0",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
@ -1026,11 +1026,11 @@
|
|||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
"snowflake": {
|
"snowflake": {
|
||||||
"hash": "sha256-1a2zGEZgMdmH6/dBJ+19VHDMfOs7Xwd4wJ/CA/mVI3g=",
|
"hash": "sha256-0TnsoK1B6npf4zkaG2hkE8WVXgrI7DsFZFuqFd8kz/4=",
|
||||||
"homepage": "https://registry.terraform.io/providers/Snowflake-Labs/snowflake",
|
"homepage": "https://registry.terraform.io/providers/Snowflake-Labs/snowflake",
|
||||||
"owner": "Snowflake-Labs",
|
"owner": "Snowflake-Labs",
|
||||||
"repo": "terraform-provider-snowflake",
|
"repo": "terraform-provider-snowflake",
|
||||||
"rev": "v0.66.1",
|
"rev": "v0.66.2",
|
||||||
"spdx": "MIT",
|
"spdx": "MIT",
|
||||||
"vendorHash": "sha256-ZNkZ2GMSBZHz+L626VqT7pTeb8fSYkaCi84O5ggd1FM="
|
"vendorHash": "sha256-ZNkZ2GMSBZHz+L626VqT7pTeb8fSYkaCi84O5ggd1FM="
|
||||||
},
|
},
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
boost: LIBS += -lboost_serialization
|
|
||||||
expat: LIBS += -lexpat
|
|
||||||
expat: PKGCONFIG -= expat
|
|
||||||
cairo {
|
|
||||||
PKGCONFIG += cairo
|
|
||||||
LIBS -= $$system(pkg-config --variable=libdir cairo)/libcairo.a
|
|
||||||
}
|
|
||||||
pyside {
|
|
||||||
PKGCONFIG -= pyside
|
|
||||||
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)
|
|
||||||
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)/QtCore
|
|
||||||
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)/QtGui
|
|
||||||
INCLUDEPATH += $$system(pkg-config --variable=includedir QtGui)
|
|
||||||
LIBS += -lpyside-python2.7
|
|
||||||
}
|
|
||||||
shiboken {
|
|
||||||
PKGCONFIG -= shiboken
|
|
||||||
INCLUDEPATH += $$system(pkg-config --variable=includedir shiboken)
|
|
||||||
LIBS += -lshiboken-python2.7
|
|
||||||
}
|
|
@ -1,96 +1,29 @@
|
|||||||
{ lib, stdenv, fetchurl, qt4, pkg-config, boost, expat, cairo, python2Packages,
|
{ lib
|
||||||
cmake, flex, bison, pango, librsvg, librevenge, libxml2, libcdr, libzip,
|
, stdenv
|
||||||
poppler, imagemagick, openexr, ffmpeg, opencolorio_1, openimageio_1,
|
, fetchFromGitHub
|
||||||
qmake4Hook, libpng, libGL, lndir, libraw, openjpeg, libwebp, fetchFromGitHub }:
|
, cmake
|
||||||
|
, pkg-config
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, boost
|
||||||
|
, cairo
|
||||||
|
, ceres-solver
|
||||||
|
, expat
|
||||||
|
, extra-cmake-modules
|
||||||
|
, glog
|
||||||
|
, libXdmcp
|
||||||
|
, python3
|
||||||
|
, wayland
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
minorVersion = "2.3";
|
minorVersion = "2.5";
|
||||||
version = "${minorVersion}.15";
|
version = "${minorVersion}.0";
|
||||||
OpenColorIO-Configs = fetchurl {
|
OpenColorIO-Configs = fetchFromGitHub {
|
||||||
url = "https://github.com/NatronGitHub/OpenColorIO-Configs/archive/Natron-v${minorVersion}.tar.gz";
|
owner = "NatronGitHub";
|
||||||
sha256 = "AZK9J+RnMyxOYcAQOAQZj5QciPQ999m6jrtBt5rdpkA=";
|
repo = "OpenColorIO-Configs";
|
||||||
|
rev = "Natron-v${minorVersion}";
|
||||||
|
hash = "sha256-TD7Uge9kKbFxOmOCn+TSQovnKTmFS3uERTu5lmZFHbc=";
|
||||||
};
|
};
|
||||||
seexpr = stdenv.mkDerivation rec {
|
|
||||||
version = "1.0.1";
|
|
||||||
pname = "seexpr";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/wdas/SeExpr/archive/rel-${version}.tar.gz";
|
|
||||||
sha256 = "1ackh0xs4ip7mk34bam8zd4qdymkdk0dgv8x0f2mf6gbyzzyh7lp";
|
|
||||||
};
|
|
||||||
nativeBuildInputs = [ cmake ];
|
|
||||||
buildInputs = [ libpng flex bison ];
|
|
||||||
};
|
|
||||||
buildPlugin = { pluginName, sha256, nativeBuildInputs ? [], buildInputs ? [], preConfigure ? "", postPatch ? "" }:
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "openfx-${pluginName}";
|
|
||||||
version = version;
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/NatronGitHub/openfx-${pluginName}/releases/download/Natron-${version}/openfx-${pluginName}-Natron-${version}.tar.xz";
|
|
||||||
inherit sha256;
|
|
||||||
};
|
|
||||||
inherit nativeBuildInputs buildInputs postPatch;
|
|
||||||
preConfigure = ''
|
|
||||||
makeFlagsArray+=("CONFIG=release")
|
|
||||||
makeFlagsArray+=("PLUGINPATH=$out/Plugins/OFX/Natron")
|
|
||||||
${preConfigure}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
lodepngcpp = fetchurl {
|
|
||||||
url = "https://raw.githubusercontent.com/lvandeve/lodepng/a70c086077c0eaecbae3845e4da4424de5f43361/lodepng.cpp";
|
|
||||||
sha256 = "1dxkkr4jbmvlwfr7m16i1mgcj1pqxg9s1a7y3aavs9rrk0ki8ys2";
|
|
||||||
};
|
|
||||||
lodepngh = fetchurl {
|
|
||||||
url = "https://raw.githubusercontent.com/lvandeve/lodepng/a70c086077c0eaecbae3845e4da4424de5f43361/lodepng.h";
|
|
||||||
sha256 = "14drdikd0vws3wwpyqq7zzm5z3kg98svv4q4w0hr45q6zh6hs0bq";
|
|
||||||
};
|
|
||||||
cimgversion = "89b9d062ec472df3d33989e6d5d2a8b50ba0775c";
|
|
||||||
CImgh = fetchurl {
|
|
||||||
url = "https://raw.githubusercontent.com/dtschump/CImg/${cimgversion}/CImg.h";
|
|
||||||
sha256 = "sha256-NbYpZDNj2oZ+wqoEkRwwCjiujdr+iGOLA0Pa0Ynso6U=";
|
|
||||||
};
|
|
||||||
inpainth = fetchurl {
|
|
||||||
url = "https://raw.githubusercontent.com/dtschump/CImg/${cimgversion}/plugins/inpaint.h";
|
|
||||||
sha256 = "sha256-cd28a3VOs5002GkthHkbIUrxZfKuGhqIYO4Oxe/2HIQ=";
|
|
||||||
};
|
|
||||||
plugins = map buildPlugin [
|
|
||||||
({
|
|
||||||
pluginName = "arena";
|
|
||||||
sha256 = "tUb6myG03mRieUAfgRZfv5Ap+cLvbpNrLMYCGTiAq8c=";
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
|
||||||
buildInputs = [
|
|
||||||
pango librsvg librevenge libcdr opencolorio_1 libxml2 libzip
|
|
||||||
poppler imagemagick
|
|
||||||
];
|
|
||||||
preConfigure = ''
|
|
||||||
sed -i 's|pkg-config poppler-glib|pkg-config poppler poppler-glib|g' Makefile.master
|
|
||||||
for i in Extra Bundle; do
|
|
||||||
cp ${lodepngcpp} $i/lodepng.cpp
|
|
||||||
cp ${lodepngh} $i/lodepng.h
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
({
|
|
||||||
pluginName = "io";
|
|
||||||
sha256 = "OQg6a5wNy9TFFySjmgd1subvXRxY/ZnSOCkaoUo+ZaA=";
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
|
||||||
buildInputs = [
|
|
||||||
libpng ffmpeg openexr opencolorio_1 openimageio_1 boost libGL
|
|
||||||
seexpr libraw openjpeg libwebp
|
|
||||||
];
|
|
||||||
})
|
|
||||||
({
|
|
||||||
pluginName = "misc";
|
|
||||||
sha256 = "XkdQyWI9ilF6IoP3yuHulNUZRPLX1m4lq/+RbXsrFEQ=";
|
|
||||||
buildInputs = [
|
|
||||||
libGL
|
|
||||||
];
|
|
||||||
postPatch = ''
|
|
||||||
cp '${inpainth}' CImg/Inpaint/inpaint.h
|
|
||||||
patch -p0 -dCImg < CImg/Inpaint/inpaint.h.patch # taken from the Makefile; it gets skipped if the file already exists
|
|
||||||
cp '${CImgh}' CImg/CImg.h
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
];
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit version;
|
inherit version;
|
||||||
@ -101,28 +34,40 @@ stdenv.mkDerivation {
|
|||||||
repo = "Natron";
|
repo = "Natron";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-KuXJmmIsvwl4uqmAxXqWU+273jsdWrCuUSwWn5vuu8M=";
|
hash = "sha256-dgScbfyulZPlrngqSw7xwipldoRd8uFO8VP9mlJyhQ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake4Hook pkg-config python2Packages.wrapPython ];
|
cmakeFlags = [ "-DNATRON_SYSTEM_LIBS=ON" ];
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs = [
|
||||||
qt4 boost expat cairo python2Packages.pyside python2Packages.pysideShiboken
|
cmake
|
||||||
|
pkg-config
|
||||||
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
buildInputs = [
|
||||||
export MAKEFLAGS=-j$NIX_BUILD_CORES
|
boost
|
||||||
cp ${./config.pri} config.pri
|
expat
|
||||||
mkdir OpenColorIO-Configs
|
cairo
|
||||||
tar -xf ${OpenColorIO-Configs} --strip-components=1 -C OpenColorIO-Configs
|
python3
|
||||||
|
python3.pkgs.pyside2
|
||||||
|
python3.pkgs.shiboken2
|
||||||
|
extra-cmake-modules
|
||||||
|
wayland
|
||||||
|
glog
|
||||||
|
ceres-solver
|
||||||
|
libXdmcp
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/share
|
||||||
|
cp -r ${OpenColorIO-Configs} $out/share/OpenColorIO-Configs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for i in ${lib.escapeShellArgs plugins}; do
|
|
||||||
${lndir}/bin/lndir $i $out
|
|
||||||
done
|
|
||||||
wrapProgram $out/bin/Natron \
|
wrapProgram $out/bin/Natron \
|
||||||
--set PYTHONPATH "$PYTHONPATH"
|
--prefix PYTHONPATH : "${python3.pkgs.makePythonPath [ python3.pkgs.qtpy python3.pkgs.pyside2 ]}" \
|
||||||
|
--set-default OCIO "$out/share/OpenColorIO-Configs/blender/config.ocio"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
@ -135,6 +80,6 @@ stdenv.mkDerivation {
|
|||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
maintainers = [ maintainers.puffnfresh ];
|
maintainers = [ maintainers.puffnfresh ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
broken = true; # Last evaluated on Hydra on 2021-05-18
|
broken = stdenv.isLinux && stdenv.isAarch64;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "phosh";
|
pname = "phosh";
|
||||||
version = "0.25.1";
|
version = "0.27.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true; # including gvc and libcall-ui which are designated as subprojects
|
fetchSubmodules = true; # including gvc and libcall-ui which are designated as subprojects
|
||||||
sha256 = "sha256-ysAZdmkFEuqJDTPe246F2I4Qp+fjtomia42PS8BuMM8=";
|
sha256 = "sha256-dnSYeXn3aPwvxeIjjk+PsnOVKyuGlxXMXGWDdrRrIM0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -23,13 +23,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gvm-libs";
|
pname = "gvm-libs";
|
||||||
version = "22.5.0";
|
version = "22.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "greenbone";
|
owner = "greenbone";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-QHAkPZoLQG+UQ1YNdad+XYOywqLqIW1vBmcFkuf3pXU=";
|
hash = "sha256-b7a9LD291LT28TujOQ3DE76+wtmBYeAGrXZXTM0quWw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,45 +1,44 @@
|
|||||||
{ lib, stdenv, nim, nim_builder }:
|
{ lib, stdenv, nim, nim_builder }:
|
||||||
|
pkgArgs:
|
||||||
|
|
||||||
{ strictDeps ? true, depsBuildBuild ? [ ], nativeBuildInputs ? [ ]
|
let
|
||||||
, configurePhase ? null, buildPhase ? null, checkPhase ? null
|
baseAttrs = {
|
||||||
, installPhase ? null, enableParallelBuilding ? true, meta ? { }, ... }@attrs:
|
strictDeps = true;
|
||||||
|
enableParallelBuilding = true;
|
||||||
stdenv.mkDerivation (attrs // {
|
configurePhase = ''
|
||||||
inherit strictDeps enableParallelBuilding;
|
runHook preConfigure
|
||||||
depsBuildBuild = [ nim_builder ] ++ depsBuildBuild;
|
export NIX_NIM_BUILD_INPUTS=''${pkgsHostTarget[@]} $NIX_NIM_BUILD_INPUTS
|
||||||
nativeBuildInputs = [ nim ] ++ nativeBuildInputs;
|
nim_builder --phase:configure
|
||||||
|
runHook postConfigure
|
||||||
configurePhase = if (configurePhase == null) then ''
|
'';
|
||||||
runHook preConfigure
|
buildPhase = ''
|
||||||
export NIX_NIM_BUILD_INPUTS=''${pkgsHostTarget[@]} $NIX_NIM_BUILD_INPUTS
|
runHook preBuild
|
||||||
nim_builder --phase:configure
|
nim_builder --phase:build
|
||||||
runHook postConfigure
|
runHook postBuild
|
||||||
'' else
|
'';
|
||||||
configurePhase;
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
buildPhase = if (buildPhase == null) then ''
|
nim_builder --phase:check
|
||||||
runHook preBuild
|
runHook postCheck
|
||||||
nim_builder --phase:build
|
'';
|
||||||
runHook postBuild
|
installPhase = ''
|
||||||
'' else
|
runHook preInstall
|
||||||
buildPhase;
|
nim_builder --phase:install
|
||||||
|
runHook postInstall
|
||||||
checkPhase = if (checkPhase == null) then ''
|
'';
|
||||||
runHook preCheck
|
meta = { inherit (nim.meta) maintainers platforms; };
|
||||||
nim_builder --phase:check
|
|
||||||
runHook postCheck
|
|
||||||
'' else
|
|
||||||
checkPhase;
|
|
||||||
|
|
||||||
installPhase = if (installPhase == null) then ''
|
|
||||||
runHook preInstall
|
|
||||||
nim_builder --phase:install
|
|
||||||
runHook postInstall
|
|
||||||
'' else
|
|
||||||
installPhase;
|
|
||||||
|
|
||||||
meta = meta // {
|
|
||||||
platforms = meta.platforms or nim.meta.platforms;
|
|
||||||
maintainers = (meta.maintainers or [ ]) ++ [ lib.maintainers.ehmry ];
|
|
||||||
};
|
};
|
||||||
})
|
|
||||||
|
inputsOverride =
|
||||||
|
{ depsBuildBuild ? [ ], nativeBuildInputs ? [ ], meta, ... }: {
|
||||||
|
depsBuildBuild = [ nim_builder ] ++ depsBuildBuild;
|
||||||
|
nativeBuildInputs = [ nim ] ++ nativeBuildInputs;
|
||||||
|
};
|
||||||
|
|
||||||
|
composition = finalAttrs:
|
||||||
|
let
|
||||||
|
asFunc = x: if builtins.isFunction x then x else (_: x);
|
||||||
|
prev = baseAttrs // (asFunc ((asFunc pkgArgs) finalAttrs)) baseAttrs;
|
||||||
|
in prev // inputsOverride prev;
|
||||||
|
|
||||||
|
in stdenv.mkDerivation composition
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{ lib, buildNimPackage, fetchNimble, SDL2 }:
|
{ lib, buildNimPackage, fetchNimble, SDL2 }:
|
||||||
|
|
||||||
buildNimPackage rec {
|
buildNimPackage (finalAttrs: {
|
||||||
pname = "sdl2";
|
pname = "sdl2";
|
||||||
version = "2.0.4";
|
version = "2.0.4";
|
||||||
src = fetchNimble {
|
src = fetchNimble {
|
||||||
inherit pname version;
|
inherit (finalAttrs) pname version;
|
||||||
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
|
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [ SDL2 ];
|
propagatedBuildInputs = [ SDL2 ];
|
||||||
@ -14,4 +14,4 @@ buildNimPackage rec {
|
|||||||
platforms = lib.platforms.linux; # Problems with Darwin.
|
platforms = lib.platforms.linux; # Problems with Darwin.
|
||||||
license = [ lib.licenses.mit ];
|
license = [ lib.licenses.mit ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -0,0 +1,50 @@
|
|||||||
|
{ lib
|
||||||
|
, apispec
|
||||||
|
, bottle
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flask
|
||||||
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, tornado
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "apispec-webframeworks";
|
||||||
|
version = "0.5.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "marshmallow-code";
|
||||||
|
repo = "apispec-webframeworks";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-ByNmmBLO99njw9JrT+cCW/K4NJBH92smAiIgg47Cvkk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
apispec
|
||||||
|
] ++ apispec.optional-dependencies.yaml;
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
bottle
|
||||||
|
flask
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
tornado
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"apispec_webframeworks"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Web framework plugins for apispec";
|
||||||
|
homepage = "https://github.com/marshmallow-code/apispec-webframeworks";
|
||||||
|
changelog = "https://github.com/marshmallow-code/apispec-webframeworks/blob/${version}/CHANGELOG.rst";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -5,10 +5,11 @@
|
|||||||
, orjson
|
, orjson
|
||||||
, pandas
|
, pandas
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytestCheckHook
|
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pythonOlder
|
, pytestCheckHook
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
|
, pythonOlder
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, requests
|
, requests
|
||||||
, typer
|
, typer
|
||||||
, websocket-client
|
, websocket-client
|
||||||
@ -16,7 +17,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "coinmetrics-api-client";
|
pname = "coinmetrics-api-client";
|
||||||
version = "2023.5.26.17";
|
version = "2023.6.8.20";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -26,11 +27,16 @@ buildPythonPackage rec {
|
|||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "coinmetrics_api_client";
|
pname = "coinmetrics_api_client";
|
||||||
hash = "sha256-GCHXraeH6WWTlCnw9B1Xwtb6jwcxcvW1siy2T/8x14Q=";
|
hash = "sha256-Koll0pod0vSW/F3veGTn8JYOMQI61REUW6Eh+TDJKNI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"typer"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -52,7 +58,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
optional-dependencies = {
|
optional-dependencies = {
|
||||||
pandas = [ pandas ];
|
pandas = [
|
||||||
|
pandas
|
||||||
|
];
|
||||||
};
|
};
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dvc-data";
|
pname = "dvc-data";
|
||||||
version = "0.55.0";
|
version = "1.7.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-eE1cVzhwyClVYmaotw37sG46g5W1ToUE/f3pZ2CCcE0=";
|
hash = "sha256-vZPhlCY7KWM521C/uFx8nddpLD/72tX0g1JRb2KeIfA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "elkm1-lib";
|
pname = "elkm1-lib";
|
||||||
version = "2.2.4";
|
version = "2.2.5";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
owner = "gwww";
|
owner = "gwww";
|
||||||
repo = "elkm1";
|
repo = "elkm1";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-qqkKsVSspVBVxX96vlM8+6SqfdIBTcVyODJzQ4Ga+6g=";
|
hash = "sha256-8Mzxaww6a+vi3i8H4W9jRgY+5mpTGaJbNBXPDPn8sl4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fakeredis";
|
pname = "fakeredis";
|
||||||
version = "2.12.1";
|
version = "2.14.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
owner = "dsoftwareinc";
|
owner = "dsoftwareinc";
|
||||||
repo = "fakeredis-py";
|
repo = "fakeredis-py";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-WF3dITWCrTQDORfaGWPpJBQFkPrUN6faHohjvBuOW7I=";
|
hash = "sha256-kLCCCUbre/Bi0DFv/+PVHvw1NXn2HhQx5kYtEaOqP58=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
64
pkgs/development/python-modules/filedepot/default.nix
Normal file
64
pkgs/development/python-modules/filedepot/default.nix
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
{ lib
|
||||||
|
, anyascii
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, flaky
|
||||||
|
, mock
|
||||||
|
, paste
|
||||||
|
, pillow
|
||||||
|
, pymongo
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
, sqlalchemy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "filedepot";
|
||||||
|
version = "0.9.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "amol-";
|
||||||
|
repo = "depot";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-OJc4Qwar3sKhKKF1WldwaueRG7FCboWT2wXYldHJbPU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
anyascii
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
flaky
|
||||||
|
mock
|
||||||
|
paste
|
||||||
|
pillow
|
||||||
|
pymongo
|
||||||
|
pytestCheckHook
|
||||||
|
requests
|
||||||
|
sqlalchemy
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# The examples have tests
|
||||||
|
"examples"
|
||||||
|
# Missing dependencies (TurboGears2 and ming)
|
||||||
|
"tests/test_fields_ming.py"
|
||||||
|
"tests/test_wsgi_middleware.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"depot"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Toolkit for storing files and attachments in web applications";
|
||||||
|
homepage = "https://github.com/amol-/depot";
|
||||||
|
changelog = "https://github.com/amol-/depot/releases/tag/${version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "openaiauth";
|
pname = "openaiauth";
|
||||||
version = "0.3.6";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "OpenAIAuth";
|
pname = "OpenAIAuth";
|
||||||
hash = "sha256-SaiTqs2HVv5ajUkrLJv24ed1+iJg5HqsCNe0IETkA00=";
|
hash = "sha256-0Vd8gvE2guHNlrPBahu23NpUFrJHvm6Q6NSNawX9gbY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
@ -9,14 +9,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "publicsuffixlist";
|
pname = "publicsuffixlist";
|
||||||
version = "0.10.0.20230611";
|
version = "0.10.0.20230614";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-z5mh/8sFulky9LX0LPwBuYWebjsqWc0EsPjDZMuTCX8=";
|
hash = "sha256-8tB95lcW4IQBeU5cY0YFfLKW3a0g1SQH9sJbn0cduho=";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
|
46
pkgs/development/python-modules/pygnmi/default.nix
Normal file
46
pkgs/development/python-modules/pygnmi/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cryptography
|
||||||
|
, dictdiffer
|
||||||
|
, grpcio
|
||||||
|
, protobuf
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pygnmi";
|
||||||
|
version = "0.8.12";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "akarneliuk";
|
||||||
|
repo = "pygnmi";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-5dAjN/HDFKQmJIjhergBjSmHQKhBxqy/Jneh1pLCHrw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cryptography
|
||||||
|
dictdiffer
|
||||||
|
grpcio
|
||||||
|
protobuf
|
||||||
|
];
|
||||||
|
|
||||||
|
# almost all tests fail with:
|
||||||
|
# TypeError: expected string or bytes-like object
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pygnmi" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Pure Python gNMI client to manage network functions and collect telemetry";
|
||||||
|
homepage = "https://github.com/akarneliuk/pygnmi";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
55
pkgs/development/python-modules/pylion/default.nix
Normal file
55
pkgs/development/python-modules/pylion/default.nix
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromBitbucket
|
||||||
|
, h5py
|
||||||
|
, termcolor
|
||||||
|
, pexpect
|
||||||
|
, jinja2
|
||||||
|
, sphinxHook
|
||||||
|
, sphinx-rtd-theme
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage {
|
||||||
|
pname = "pylion";
|
||||||
|
version = "0.5.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromBitbucket {
|
||||||
|
owner = "dtrypogeorgos";
|
||||||
|
repo = "pylion";
|
||||||
|
# Version is set in setup.cfg, but not in a git tag / bitbucket release
|
||||||
|
rev = "8945a7b6f1912ae6b9c705f8a2bd521101f5ba59";
|
||||||
|
hash = "sha256-4AdJkoQ1hAssDUpgmARGmN+ihQqRPPOncWJ5ErQyWII=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Docs are not available online, besides the article:
|
||||||
|
# http://dx.doi.org/10.1016/j.cpc.2020.107187
|
||||||
|
nativeBuildInputs = [
|
||||||
|
sphinxHook
|
||||||
|
sphinx-rtd-theme
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
h5py
|
||||||
|
termcolor
|
||||||
|
pexpect
|
||||||
|
jinja2
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pylion" ];
|
||||||
|
|
||||||
|
# Tests fail from some reason - some files seem to be missing from the repo.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/doc/$name
|
||||||
|
cp -r examples $out/share/doc/$name/examples
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A LAMMPS wrapper for molecular dynamics simulations of trapped ions";
|
||||||
|
homepage = "https://bitbucket.org/dtrypogeorgos/pylion";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ doronbehar ];
|
||||||
|
};
|
||||||
|
}
|
@ -7,6 +7,7 @@
|
|||||||
, pydantic
|
, pydantic
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, rstcheck-core
|
, rstcheck-core
|
||||||
, typer
|
, typer
|
||||||
, types-docutils
|
, types-docutils
|
||||||
@ -27,8 +28,13 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-UMByfnnP1va3v1IgyQL0f3kC+W6HoiWScb7U2FAvWkU=";
|
hash = "sha256-UMByfnnP1va3v1IgyQL0f3kC+W6HoiWScb7U2FAvWkU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"typer"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
48
pkgs/development/python-modules/simplekv/default.nix
Normal file
48
pkgs/development/python-modules/simplekv/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, dulwich
|
||||||
|
, fetchFromGitHub
|
||||||
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "simplekv";
|
||||||
|
version = "0.14.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mbr";
|
||||||
|
repo = "simplekv";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-seUGDj2q84+AjDFM1pxMLlHbe9uBgEhmqA96UHjnCmo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
dulwich
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"simplekv"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Issue with fixture
|
||||||
|
"test_concurrent_mkdir"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A simple key-value store for binary data";
|
||||||
|
homepage = "https://github.com/mbr/simplekv";
|
||||||
|
changelog = "https://github.com/mbr/simplekv/releases/tag/${version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, blis
|
, blis
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, callPackage
|
, callPackage
|
||||||
@ -17,6 +18,7 @@
|
|||||||
, pytest
|
, pytest
|
||||||
, python
|
, python
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, requests
|
, requests
|
||||||
, setuptools
|
, setuptools
|
||||||
, spacy-legacy
|
, spacy-legacy
|
||||||
@ -28,7 +30,6 @@
|
|||||||
, typing-extensions
|
, typing-extensions
|
||||||
, wasabi
|
, wasabi
|
||||||
, writeScript
|
, writeScript
|
||||||
, stdenv
|
|
||||||
, nix
|
, nix
|
||||||
, git
|
, git
|
||||||
, nix-update
|
, nix-update
|
||||||
@ -36,16 +37,24 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "spacy";
|
pname = "spacy";
|
||||||
version = "3.5.2";
|
version = "3.5.3";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-IsH/qrKFt0dwA9S1sDhBTMMkaKaQ1HkBW5ppjFMcgTs=";
|
hash = "sha256-NZcdZyFXZTjWxCPGagnOAL9m4Q5AcmpXt6gZkxgMJIw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"typer"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
blis
|
blis
|
||||||
catalogue
|
catalogue
|
||||||
@ -70,9 +79,7 @@ buildPythonPackage rec {
|
|||||||
wasabi
|
wasabi
|
||||||
] ++ lib.optionals (pythonOlder "3.8") [
|
] ++ lib.optionals (pythonOlder "3.8") [
|
||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
]; postPatch = ''
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
--replace "typer>=0.3.0,<0.5.0" "typer>=0.3.0"
|
--replace "typer>=0.3.0,<0.5.0" "typer>=0.3.0"
|
||||||
'';
|
'';
|
||||||
@ -82,6 +89,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} -m pytest spacy/tests --vectors --models --slow
|
${python.interpreter} -m pytest spacy/tests --vectors --models --slow
|
||||||
'';
|
'';
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sqltrie";
|
pname = "sqltrie";
|
||||||
version = "0.5.0";
|
version = "0.6.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-caCzFHQG0fnSmIdesk4k1W/VheY1DWxZb2W8/Xen/ZU=";
|
hash = "sha256-f3nQMkDI4n/hORW038KL+LQcyc6Hzx1MDrcChk7W8t4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "teslajsonpy";
|
pname = "teslajsonpy";
|
||||||
version = "3.8.1";
|
version = "3.9.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
|||||||
owner = "zabuldon";
|
owner = "zabuldon";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-RPR1ek1gpbermSRaGqT2v31UVB6044E2ZxIqv1yr2bs=";
|
hash = "sha256-6H8miS0tKB99ZkiBvqJ77NIsswJ+ivYt1VZOLwTQr24=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,43 +1,40 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, click
|
||||||
, colorama
|
, colorama
|
||||||
|
, coverage
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, flit-core
|
, flit-core
|
||||||
, click
|
, pytest-sugar
|
||||||
|
, pytest-xdist
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
, rich
|
, rich
|
||||||
, shellingham
|
, shellingham
|
||||||
, pytest-xdist
|
, typing-extensions
|
||||||
, pytest-sugar
|
|
||||||
, coverage
|
|
||||||
, pythonOlder
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "typer";
|
pname = "typer";
|
||||||
version = "0.7.0";
|
version = "0.9.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-/3l4RleKnyogG1NEKu3rVDMZRmhw++HHAeq2bddoEWU=";
|
hash = "sha256-UJIv15rqL0dRqOBAj/ENJmK9DIu/qEdVppnzutopeLI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace "rich >=10.11.0,<13.0.0" "rich"
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
flit-core
|
flit-core
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
click
|
click
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
@ -58,7 +55,10 @@ buildPythonPackage rec {
|
|||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d);
|
export HOME=$(mktemp -d);
|
||||||
'';
|
'';
|
||||||
disabledTests = lib.optionals stdenv.isDarwin [
|
|
||||||
|
disabledTests = [
|
||||||
|
"test_scripts"
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
# likely related to https://github.com/sarugaku/shellingham/issues/35
|
# likely related to https://github.com/sarugaku/shellingham/issues/35
|
||||||
"test_show_completion"
|
"test_show_completion"
|
||||||
"test_install_completion"
|
"test_install_completion"
|
||||||
@ -73,6 +73,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library for building CLI applications";
|
description = "Library for building CLI applications";
|
||||||
homepage = "https://typer.tiangolo.com/";
|
homepage = "https://typer.tiangolo.com/";
|
||||||
|
changelog = "https://github.com/tiangolo/typer/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ winpat ];
|
maintainers = with maintainers; [ winpat ];
|
||||||
};
|
};
|
||||||
|
22
pkgs/development/tools/gendef/default.nix
Normal file
22
pkgs/development/tools/gendef/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ fetchgit, lib, stdenv }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "gendef";
|
||||||
|
version = "11.0.1";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://git.code.sf.net/p/mingw-w64/mingw-w64.git";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-0vbAHSN+uwxoXXZtbuycP67PxjcB8Ftxd/Oij1gqE3Y=";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = "mingw-w64/mingw-w64-tools/gendef";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A tool which generate def files from DLLs";
|
||||||
|
homepage = "https://sourceforge.net/p/mingw-w64/wiki2/gendef/";
|
||||||
|
license = lib.licenses.gpl3Plus;
|
||||||
|
maintainers = with lib.maintainers; [ hughobrien ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
@ -41,8 +41,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs tests/*.sh
|
patchShebangs tests/*.sh
|
||||||
'' + lib.optionalString enableDebuginfod ''
|
|
||||||
sed -i '1i DESTDIR=$(debuginfod)' debuginfod/Makefile.in
|
|
||||||
'' + lib.optionalString stdenv.hostPlatform.isRiscV ''
|
'' + lib.optionalString stdenv.hostPlatform.isRiscV ''
|
||||||
# disable failing test:
|
# disable failing test:
|
||||||
#
|
#
|
||||||
@ -50,10 +48,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i s/run-backtrace-dwarf.sh//g tests/Makefile.in
|
sed -i s/run-backtrace-dwarf.sh//g tests/Makefile.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# debuginfod goes in its own output, as it increases closure size
|
outputs = [ "bin" "dev" "out" "man" ];
|
||||||
# significantly by depending on gcc. Many uses, such as libbpf
|
|
||||||
# (depended on by systemd), don't need debuginfod.
|
|
||||||
outputs = [ "bin" "dev" "out" "man" ] ++ lib.optional enableDebuginfod "debuginfod";
|
|
||||||
|
|
||||||
# We need bzip2 in NativeInputs because otherwise we can't unpack the src,
|
# We need bzip2 in NativeInputs because otherwise we can't unpack the src,
|
||||||
# as the host-bzip2 will be in the path.
|
# as the host-bzip2 will be in the path.
|
||||||
|
@ -54,14 +54,14 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mudlet";
|
pname = "mudlet";
|
||||||
version = "4.17.0";
|
version = "4.17.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mudlet";
|
owner = "Mudlet";
|
||||||
repo = "Mudlet";
|
repo = "Mudlet";
|
||||||
rev = "Mudlet-${version}";
|
rev = "Mudlet-${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-j0d37C1TTb6ggXk1wTaqEcBKwsxE/B7Io90gTkc2q0M=";
|
hash = "sha256-K75frptePKfHeGQNXaX4lKsLwO6Rs6AAka6hvP8MA+k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -113,6 +113,8 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -pv $out/share/pixmaps
|
mkdir -pv $out/share/pixmaps
|
||||||
cp -r ../mudlet.png $out/share/pixmaps/
|
cp -r ../mudlet.png $out/share/pixmaps/
|
||||||
|
|
||||||
|
cp -r ../translations $out/share/
|
||||||
|
|
||||||
makeQtWrapper $out/mudlet $out/bin/mudlet \
|
makeQtWrapper $out/mudlet $out/bin/mudlet \
|
||||||
--set LUA_CPATH "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \
|
--set LUA_CPATH "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \
|
||||||
--prefix LUA_PATH : "$NIX_LUA_PATH" \
|
--prefix LUA_PATH : "$NIX_LUA_PATH" \
|
||||||
|
@ -25,11 +25,11 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "unciv";
|
pname = "unciv";
|
||||||
version = "4.6.15";
|
version = "4.6.19";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar";
|
url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar";
|
||||||
hash = "sha256-69JEf5dG3Nf4CLT8eKfeo/8givyyxb9QpQSAZ2dG7TI=";
|
hash = "sha256-21Pge/b6pZ4csGVr2J0V6rwZGKBEEqEkuef+7imGtl4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -44,7 +44,6 @@ stdenv.mkDerivation {
|
|||||||
homepage = "https://github.com/linux-apfs/linux-apfs-rw";
|
homepage = "https://github.com/linux-apfs/linux-apfs-rw";
|
||||||
license = licenses.gpl2Only;
|
license = licenses.gpl2Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
broken = kernel.kernelOlder "4.9";
|
|
||||||
maintainers = with maintainers; [ Luflosi ];
|
maintainers = with maintainers; [ Luflosi ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,16 +15,16 @@ let
|
|||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "minio";
|
pname = "minio";
|
||||||
version = "2023-05-27T05-56-19Z";
|
version = "2023-06-09T07-32-12Z";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "minio";
|
owner = "minio";
|
||||||
repo = "minio";
|
repo = "minio";
|
||||||
rev = "RELEASE.${version}";
|
rev = "RELEASE.${version}";
|
||||||
sha256 = "sha256-HwyPrXywhJ0D/eelcPOE8CPrEeJkaLr7wMdW5O+8cZA=";
|
sha256 = "sha256-YhABdJ+4KU/UGRukCR4iQ4ClHUz/icbIO/yd8rGIs48=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-jvJM4I5ruDYwJsB258aZ3UP9FjtzYc0XSYpXdjqafMI=";
|
vendorHash = "sha256-c2rB8Or4tt84caEmfbwcHCow3/fllk0mNW0R/MwB5Vg=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jitsi-meet";
|
pname = "jitsi-meet";
|
||||||
version = "1.0.7235";
|
version = "1.0.7322";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jitsi.org/jitsi-meet/src/jitsi-meet-${version}.tar.bz2";
|
url = "https://download.jitsi.org/jitsi-meet/src/jitsi-meet-${version}.tar.bz2";
|
||||||
sha256 = "OlAInpGl6I5rKgIsO3nXUQfksU326lsSDdiZdCYM3NU=";
|
sha256 = "BjoNu1cQOw9JjX6i2R/K8Txx6m6ndVRnWPjze9y14pQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
@ -1,7 +1,20 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, boost, libpng, libiconv
|
{ lib
|
||||||
, libjpeg, zlib, openssl, libwebp, catch2 }:
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, cmake
|
||||||
|
, makeWrapper
|
||||||
|
, boost
|
||||||
|
, libpng
|
||||||
|
, libiconv
|
||||||
|
, libjpeg
|
||||||
|
, zlib
|
||||||
|
, openssl
|
||||||
|
, libwebp
|
||||||
|
, catch2
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "arc_unpacker";
|
pname = "arc_unpacker";
|
||||||
version = "unstable-2021-08-06";
|
version = "unstable-2021-08-06";
|
||||||
|
|
||||||
@ -12,14 +25,35 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-STbdWH7Mr3gpOrZvujblYrIIKEWBHzy1/BaNuh4teI8=";
|
hash = "sha256-STbdWH7Mr3gpOrZvujblYrIIKEWBHzy1/BaNuh4teI8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper catch2 ];
|
patches = [
|
||||||
buildInputs = [ boost libiconv libjpeg libpng libwebp openssl zlib ];
|
(fetchpatch {
|
||||||
|
name = "failing_tests.patch";
|
||||||
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/failing_tests.patch?h=arc_unpacker-git&id=bda1ad9f69e6802e703b2e6913d71a36d76cfef9";
|
||||||
|
hash = "sha256-bClACsf/+SktyLAPtt7EcSqprkw8JVIi1ZLpcJcv9IE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cp ${catch2}/include/catch2/catch.hpp tests/test_support/catch.h
|
cp ${catch2}/include/catch2/catch.hpp tests/test_support/catch.h
|
||||||
sed '1i#include <limits>' -i src/dec/eagls/pak_archive_decoder.cc # gcc12
|
sed '1i#include <limits>' -i src/dec/eagls/pak_archive_decoder.cc # gcc12
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
makeWrapper
|
||||||
|
catch2
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
boost
|
||||||
|
libiconv
|
||||||
|
libjpeg
|
||||||
|
libpng
|
||||||
|
libwebp
|
||||||
|
openssl
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
|
||||||
|
@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "borgmatic";
|
pname = "borgmatic";
|
||||||
version = "1.7.9";
|
version = "1.7.14";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-v3Qxwy7V6rqX90G4/Xp6mVTUkrqDXmudgh3th0GCjuk=";
|
sha256 = "sha256-rABJfdrV+D2v6yHpAbzj/0MSGc9bo49pwXEC45Mmmlk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = with python3Packages; [ flexmock pytestCheckHook pytest-cov ];
|
nativeCheckInputs = with python3Packages; [ flexmock pytestCheckHook pytest-cov ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitLab, rustPlatform, pkg-config, openssl
|
{ lib, stdenv, fetchFromGitLab, fetchpatch, rustPlatform, pkg-config, openssl
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, Security, AppKit
|
, Security, AppKit
|
||||||
|
|
||||||
@ -24,7 +24,38 @@ rustPlatform.buildRustPackage rec {
|
|||||||
sha256 = "sha256-L1j1lXPxy9nWMeED9uzQHV5y7XTE6+DB57rDnXa4kMo=";
|
sha256 = "sha256-L1j1lXPxy9nWMeED9uzQHV5y7XTE6+DB57rDnXa4kMo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-zNLU9QnBGna5qb+iu2imOUvCIw3ZWRFsQlpFo5ECtKo=";
|
cargoHash = "sha256-r1yIPV2sW/EpHJpdaJyi6pzE+rtNkBIxSUJF+XA8kbA=";
|
||||||
|
|
||||||
|
cargoPatches = [
|
||||||
|
|
||||||
|
# Update dependencies (needed for the below patch to merge cleanly)
|
||||||
|
(fetchpatch {
|
||||||
|
name = "Update-dependencies-1";
|
||||||
|
url = "https://github.com/timvisee/ffsend/commit/afb004680b9ed672c7e87ff23f16bb2c51fea06e.patch";
|
||||||
|
hash = "sha256-eDcbyi05aOq+muVWdLmlLzLXUKcrv/9Y0R+0aHgL4+s=";
|
||||||
|
})
|
||||||
|
|
||||||
|
# Disable unused features in prettytable-rs crate (needed for the below patch to merge cleanly)
|
||||||
|
(fetchpatch {
|
||||||
|
name = "Disable-unused-features";
|
||||||
|
url = "https://github.com/timvisee/ffsend/commit/9b8dee12ea839f911ed207ff9602d929cab5d34b.patch";
|
||||||
|
hash = "sha256-6LK1Fqov+zEbPZ4+B6JCLXtXmgSad9vr9YO2oYodBSM=";
|
||||||
|
})
|
||||||
|
|
||||||
|
# Update dependencies (needed for the below patch to merge cleanly)
|
||||||
|
(fetchpatch {
|
||||||
|
name = "Update-dependencies-2";
|
||||||
|
url = "https://github.com/timvisee/ffsend/commit/fd5b38f9ab9cbc5f962d1024f4809eb36ba8986c.patch";
|
||||||
|
hash = "sha256-BDZKrVtQHpOewmB2Lb6kUfy02swcNK+CYZ3lj3kwFV4=";
|
||||||
|
})
|
||||||
|
|
||||||
|
# Fix seg fault
|
||||||
|
(fetchpatch {
|
||||||
|
name = "Fix-segfault";
|
||||||
|
url = "https://github.com/timvisee/ffsend/commit/3c1c2dc28ca1d88c45f87496a7a96052f5c37858.patch";
|
||||||
|
hash = "sha256-2hWlFXDopNy26Df74nJoB1J8qzPEOpf61wEOEtxOVx8=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ]
|
nativeBuildInputs = [ installShellFiles ]
|
||||||
++ lib.optionals stdenv.isLinux [ pkg-config ];
|
++ lib.optionals stdenv.isLinux [ pkg-config ];
|
||||||
|
53
pkgs/tools/misc/ugs/default.nix
Normal file
53
pkgs/tools/misc/ugs/default.nix
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, copyDesktopItems
|
||||||
|
, makeDesktopItem
|
||||||
|
, makeWrapper
|
||||||
|
, jre
|
||||||
|
, fetchzip
|
||||||
|
, bash
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
desktopItem = makeDesktopItem {
|
||||||
|
name = "ugs";
|
||||||
|
exec = "ugs";
|
||||||
|
comment = "A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.";
|
||||||
|
desktopName = "Universal-G-Code-Sender";
|
||||||
|
categories = [ "Game" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "ugs";
|
||||||
|
version = "2.0.17";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/winder/Universal-G-Code-Sender/releases/download/v${version}/UniversalGcodeSender.zip";
|
||||||
|
hash = "sha256-m4oD0ibrlVwP8ZS1pjnu/QaWmQMQlAWtZV2MGhB9X1A=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ copyDesktopItems makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
makeWrapper ${jre}/bin/java $out/bin/ugs \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ jre ]} \
|
||||||
|
--add-flags "-jar ${src}/UniversalGcodeSender.jar"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
desktopItems = [ desktopItem ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.";
|
||||||
|
homepage = "https://github.com/winder/Universal-G-Code-Sender";
|
||||||
|
maintainers = with maintainers; [ matthewcroughan ];
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -5,16 +5,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cloudfox";
|
pname = "cloudfox";
|
||||||
version = "1.10.3";
|
version = "1.11.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "BishopFox";
|
owner = "BishopFox";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-XLn2GwoVNPoGTgXZx/q9dEmWigKB1BNylzxO9dBT3Zg=";
|
hash = "sha256-46w0/Da5sJkw2jLEGiFICEaX9bvCs0sbad1RyDCxINw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-v8rEsp2mDgfjCO2VvWNIxex8F350MDnZ40bR4szv+3o=";
|
vendorHash = "sha256-lgccNq1cSg8rrHW0aMLcC5HrZXf8TvdFSmk6pbGXNqQ=";
|
||||||
|
|
||||||
# Some tests are failing because of wrong filename/path
|
# Some tests are failing because of wrong filename/path
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib, nimPackages, fetchFromGitHub }:
|
{ lib, nimPackages, fetchFromGitHub }:
|
||||||
|
|
||||||
nimPackages.buildNimPackage rec {
|
nimPackages.buildNimPackage (finalAttrs: {
|
||||||
pname = "ttop";
|
pname = "ttop";
|
||||||
version = "1.0.1";
|
version = "1.0.1";
|
||||||
nimBinOnly = true;
|
nimBinOnly = true;
|
||||||
@ -8,17 +8,17 @@ nimPackages.buildNimPackage rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "inv2004";
|
owner = "inv2004";
|
||||||
repo = "ttop";
|
repo = "ttop";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-x4Uczksh6p3XX/IMrOFtBxIleVHdAPX9e8n32VAUTC4=";
|
hash = "sha256-x4Uczksh6p3XX/IMrOFtBxIleVHdAPX9e8n32VAUTC4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with nimPackages; [ asciigraph illwill parsetoml zippy ];
|
buildInputs = with nimPackages; [ asciigraph illwill parsetoml zippy ];
|
||||||
|
|
||||||
meta = with lib;
|
meta = with lib;
|
||||||
src.meta // {
|
finalAttrs.src.meta // {
|
||||||
description = "Top-like system monitoring tool";
|
description = "Top-like system monitoring tool";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ sikmir ];
|
maintainers = with maintainers; [ sikmir ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -589,6 +589,8 @@ with pkgs;
|
|||||||
|
|
||||||
functiontrace-server = callPackage ../development/tools/functiontrace-server { };
|
functiontrace-server = callPackage ../development/tools/functiontrace-server { };
|
||||||
|
|
||||||
|
gendef = callPackage ../development/tools/gendef { };
|
||||||
|
|
||||||
glade = callPackage ../development/tools/glade { };
|
glade = callPackage ../development/tools/glade { };
|
||||||
|
|
||||||
goda = callPackage ../development/tools/goda { };
|
goda = callPackage ../development/tools/goda { };
|
||||||
@ -1359,9 +1361,7 @@ with pkgs;
|
|||||||
type = "OPN";
|
type = "OPN";
|
||||||
};
|
};
|
||||||
|
|
||||||
arc_unpacker = callPackage ../tools/archivers/arc_unpacker {
|
arc_unpacker = callPackage ../tools/archivers/arc_unpacker { };
|
||||||
boost = boost175; # checkPhase fails with Boost 1.77
|
|
||||||
};
|
|
||||||
|
|
||||||
adminer = callPackage ../servers/adminer { };
|
adminer = callPackage ../servers/adminer { };
|
||||||
|
|
||||||
@ -13459,6 +13459,8 @@ with pkgs;
|
|||||||
|
|
||||||
ugrep = callPackage ../tools/text/ugrep { };
|
ugrep = callPackage ../tools/text/ugrep { };
|
||||||
|
|
||||||
|
ugs = callPackage ../tools/misc/ugs { };
|
||||||
|
|
||||||
uhk-agent = callPackage ../os-specific/linux/uhk-agent { };
|
uhk-agent = callPackage ../os-specific/linux/uhk-agent { };
|
||||||
|
|
||||||
uhk-udev-rules = callPackage ../os-specific/linux/uhk-udev-rules { };
|
uhk-udev-rules = callPackage ../os-specific/linux/uhk-udev-rules { };
|
||||||
@ -32972,7 +32974,7 @@ with pkgs;
|
|||||||
|
|
||||||
neomutt = callPackage ../applications/networking/mailreaders/neomutt { };
|
neomutt = callPackage ../applications/networking/mailreaders/neomutt { };
|
||||||
|
|
||||||
natron = callPackage ../applications/video/natron { };
|
natron = libsForQt5.callPackage ../applications/video/natron { };
|
||||||
|
|
||||||
natural-docs = callPackage ../applications/misc/natural-docs { };
|
natural-docs = callPackage ../applications/misc/natural-docs { };
|
||||||
|
|
||||||
|
@ -544,6 +544,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
apispec = callPackage ../development/python-modules/apispec { };
|
apispec = callPackage ../development/python-modules/apispec { };
|
||||||
|
|
||||||
|
apispec-webframeworks = callPackage ../development/python-modules/apispec-webframeworks { };
|
||||||
|
|
||||||
aplpy = callPackage ../development/python-modules/aplpy { };
|
aplpy = callPackage ../development/python-modules/aplpy { };
|
||||||
|
|
||||||
app-model = callPackage ../development/python-modules/app-model { };
|
app-model = callPackage ../development/python-modules/app-model { };
|
||||||
@ -3562,6 +3564,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
filecheck = callPackage ../development/python-modules/filecheck { };
|
filecheck = callPackage ../development/python-modules/filecheck { };
|
||||||
|
|
||||||
|
filedepot = callPackage ../development/python-modules/filedepot { };
|
||||||
|
|
||||||
filelock = callPackage ../development/python-modules/filelock { };
|
filelock = callPackage ../development/python-modules/filelock { };
|
||||||
|
|
||||||
filetype = callPackage ../development/python-modules/filetype { };
|
filetype = callPackage ../development/python-modules/filetype { };
|
||||||
@ -7709,6 +7713,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
pygments-style-github = callPackage ../development/python-modules/pygments-style-github { };
|
pygments-style-github = callPackage ../development/python-modules/pygments-style-github { };
|
||||||
|
|
||||||
|
pygnmi = callPackage ../development/python-modules/pygnmi { };
|
||||||
|
|
||||||
pygti = callPackage ../development/python-modules/pygti { };
|
pygti = callPackage ../development/python-modules/pygti { };
|
||||||
|
|
||||||
pyheos = callPackage ../development/python-modules/pyheos { };
|
pyheos = callPackage ../development/python-modules/pyheos { };
|
||||||
@ -8817,6 +8823,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
pylint-venv = callPackage ../development/python-modules/pylint-venv { };
|
pylint-venv = callPackage ../development/python-modules/pylint-venv { };
|
||||||
|
|
||||||
|
pylion = callPackage ../development/python-modules/pylion { };
|
||||||
|
|
||||||
pylitterbot = callPackage ../development/python-modules/pylitterbot { };
|
pylitterbot = callPackage ../development/python-modules/pylitterbot { };
|
||||||
|
|
||||||
py-libzfs = callPackage ../development/python-modules/py-libzfs { };
|
py-libzfs = callPackage ../development/python-modules/py-libzfs { };
|
||||||
@ -11201,6 +11209,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
simplekml = callPackage ../development/python-modules/simplekml { };
|
simplekml = callPackage ../development/python-modules/simplekml { };
|
||||||
|
|
||||||
|
simplekv = callPackage ../development/python-modules/simplekv { };
|
||||||
|
|
||||||
simplenote = callPackage ../development/python-modules/simplenote { };
|
simplenote = callPackage ../development/python-modules/simplenote { };
|
||||||
|
|
||||||
simplesat = callPackage ../development/python-modules/simplesat { };
|
simplesat = callPackage ../development/python-modules/simplesat { };
|
||||||
|
Loading…
Reference in New Issue
Block a user