forked from mirrors/nixpkgs
Merge staging-next into staging
This commit is contained in:
commit
aff0e5c530
doc/stdenv
nixos/modules
pkgs
applications
networking/browsers
version-management/gitlab
development
compilers/cudatoolkit
libraries/webkitgtk
python-modules
GitPython
httpcore
identify
pontos
pyads
pyvera
rapidfuzz
trimesh
tools
os-specific/linux
kernel
libpsm2
nvidia-x11
servers
tools
top-level
|
@ -79,7 +79,7 @@ A commonly adopted convention in `nixpkgs` is that executables provided by the p
|
||||||
|
|
||||||
The `glibc` package is a deliberate single exception to the “binaries first” convention. The `glibc` has `libs` as its first output allowing the libraries provided by `glibc` to be referenced directly (e.g. `${stdenv.glibc}/lib/ld-linux-x86-64.so.2`). The executables provided by `glibc` can be accessed via its `bin` attribute (e.g. `${stdenv.glibc.bin}/bin/ldd`).
|
The `glibc` package is a deliberate single exception to the “binaries first” convention. The `glibc` has `libs` as its first output allowing the libraries provided by `glibc` to be referenced directly (e.g. `${stdenv.glibc}/lib/ld-linux-x86-64.so.2`). The executables provided by `glibc` can be accessed via its `bin` attribute (e.g. `${stdenv.glibc.bin}/bin/ldd`).
|
||||||
|
|
||||||
The reason for why `glibc` deviates from the convention is because referencing a library provided by `glibc` is a very common operation among Nix packages. For instance, third-party executables packaged by Nix are typically patched and relinked with the relevant version of `glibc` libraries from Nix packages (please see the documentation on [patchelf](https://github.com/NixOS/patchelf/blob/master/README) for more details).
|
The reason for why `glibc` deviates from the convention is because referencing a library provided by `glibc` is a very common operation among Nix packages. For instance, third-party executables packaged by Nix are typically patched and relinked with the relevant version of `glibc` libraries from Nix packages (please see the documentation on [patchelf](https://github.com/NixOS/patchelf) for more details).
|
||||||
|
|
||||||
### File type groups {#multiple-output-file-type-groups}
|
### File type groups {#multiple-output-file-type-groups}
|
||||||
|
|
||||||
|
|
|
@ -284,12 +284,6 @@ in
|
||||||
group = "root";
|
group = "root";
|
||||||
source = "${pkgs.fping}/bin/fping";
|
source = "${pkgs.fping}/bin/fping";
|
||||||
};
|
};
|
||||||
fping6 =
|
|
||||||
{ setuid = true;
|
|
||||||
owner = "root";
|
|
||||||
group = "root";
|
|
||||||
source = "${pkgs.fping}/bin/fping6";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
environment.systemPackages = [ pkgs.fping ];
|
environment.systemPackages = [ pkgs.fping ];
|
||||||
users.users.${cfg.user} = {
|
users.users.${cfg.user} = {
|
||||||
|
|
|
@ -37,7 +37,9 @@ in {
|
||||||
users.users.localtimed = {
|
users.users.localtimed = {
|
||||||
description = "localtime daemon";
|
description = "localtime daemon";
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
group = "localtimed";
|
||||||
};
|
};
|
||||||
|
users.groups.localtimed = {};
|
||||||
|
|
||||||
systemd.services.localtime = {
|
systemd.services.localtime = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
|
@ -52,7 +52,12 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
security.wrappers.vmware-user-suid-wrapper.source = "${open-vm-tools}/bin/vmware-user-suid-wrapper";
|
security.wrappers.vmware-user-suid-wrapper =
|
||||||
|
{ setuid = true;
|
||||||
|
owner = "root";
|
||||||
|
group = "root";
|
||||||
|
source = "${open-vm-tools}/bin/vmware-user-suid-wrapper";
|
||||||
|
};
|
||||||
|
|
||||||
environment.etc.vmware-tools.source = "${open-vm-tools}/etc/vmware-tools/*";
|
environment.etc.vmware-tools.source = "${open-vm-tools}/etc/vmware-tools/*";
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"beta": {
|
"beta": {
|
||||||
"version": "94.0.4606.50",
|
"version": "94.0.4606.54",
|
||||||
"sha256": "1aqy9bvypx66bvn5p15g94p47yfbal8mixs1d0j82pznqnqgph1z",
|
"sha256": "0p8kfnyhykbv1cylsx4hj2qdzqr2xdql9rhpva8bfla2w9hr8g83",
|
||||||
"sha256bin64": "07hq4qnbgq6m43zhipgy84yhiiy1fs6ffjkgsi8ixhr9b5pipzpv",
|
"sha256bin64": "1c2i9830r0fldigv16ggmj6r74l6d85abbhka0a5wpbbn6ay08jx",
|
||||||
"deps": {
|
"deps": {
|
||||||
"gn": {
|
"gn": {
|
||||||
"version": "2021-08-11",
|
"version": "2021-08-11",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ mkYarnPackage, fetchFromGitHub, electron, makeWrapper, makeDesktopItem, lib }:
|
{ mkYarnPackage, fetchFromGitHub, electron, makeWrapper, makeDesktopItem, lib, p7zip }:
|
||||||
|
|
||||||
mkYarnPackage rec {
|
mkYarnPackage rec {
|
||||||
pname = "vieb";
|
pname = "vieb";
|
||||||
|
@ -34,6 +34,11 @@ mkYarnPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
unlink $out/libexec/vieb/deps/vieb/node_modules
|
||||||
|
ln -s $out/libexec/vieb/node_modules $out/libexec/vieb/deps/vieb/node_modules
|
||||||
|
|
||||||
|
find $out/libexec/vieb/node_modules/7zip-bin -name 7za -exec ln -s -f ${p7zip}/bin/7za {} ';'
|
||||||
|
|
||||||
install -Dm0644 {${desktopItem},$out}/share/applications/vieb.desktop
|
install -Dm0644 {${desktopItem},$out}/share/applications/vieb.desktop
|
||||||
|
|
||||||
pushd $out/libexec/vieb/node_modules/vieb/app/img/icons
|
pushd $out/libexec/vieb/node_modules/vieb/app/img/icons
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"version": "14.2.3",
|
"version": "14.2.4",
|
||||||
"repo_hash": "06fr8srz5ii0h65b1h2zfm8kzqz9g8jy2aq4g5js6kmv44zjya1p",
|
"repo_hash": "1bh95c7rrz9v2vn008lm4zqfm4n7my8r1b2665cippyi4bw0dfjr",
|
||||||
"owner": "gitlab-org",
|
"owner": "gitlab-org",
|
||||||
"repo": "gitlab",
|
"repo": "gitlab",
|
||||||
"rev": "v14.2.3-ee",
|
"rev": "v14.2.4-ee",
|
||||||
"passthru": {
|
"passthru": {
|
||||||
"GITALY_SERVER_VERSION": "14.2.3",
|
"GITALY_SERVER_VERSION": "14.2.4",
|
||||||
"GITLAB_PAGES_VERSION": "1.42.0",
|
"GITLAB_PAGES_VERSION": "1.42.0",
|
||||||
"GITLAB_SHELL_VERSION": "13.19.1",
|
"GITLAB_SHELL_VERSION": "13.19.1",
|
||||||
"GITLAB_WORKHORSE_VERSION": "14.2.3"
|
"GITLAB_WORKHORSE_VERSION": "14.2.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
version = "14.2.3";
|
version = "14.2.4";
|
||||||
gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}";
|
gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}";
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ buildGoModule {
|
||||||
owner = "gitlab-org";
|
owner = "gitlab-org";
|
||||||
repo = "gitaly";
|
repo = "gitaly";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-TSA5CoNaLeMu7O02rsaR/rNciLwzxSIUUQsCo40Z15c=";
|
sha256 = "sha256-jVYPJWFJN/KDEi8j+BOWTbH8xP0ZLPewhGsJfj5h/0w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-WhkNK+V7yXK+le1u8StAKajZIBzVKqV/WIau27oZBXE=";
|
vendorSha256 = "sha256-WhkNK+V7yXK+le1u8StAKajZIBzVKqV/WIau27oZBXE=";
|
||||||
|
|
|
@ -5,7 +5,7 @@ in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gitlab-workhorse";
|
pname = "gitlab-workhorse";
|
||||||
|
|
||||||
version = "14.2.3";
|
version = "14.2.4";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = data.owner;
|
owner = data.owner;
|
||||||
|
|
|
@ -1657,4 +1657,4 @@ DEPENDENCIES
|
||||||
yajl-ruby (~> 1.4.1)
|
yajl-ruby (~> 1.4.1)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.2.20
|
2.2.24
|
||||||
|
|
|
@ -193,11 +193,11 @@ stdenv.mkDerivation rec {
|
||||||
--set-interpreter "''$(cat $NIX_CC/nix-support/dynamic-linker)" $i
|
--set-interpreter "''$(cat $NIX_CC/nix-support/dynamic-linker)" $i
|
||||||
fi
|
fi
|
||||||
if [[ $i =~ libcudart ]]; then
|
if [[ $i =~ libcudart ]]; then
|
||||||
rpath2=
|
patchelf --remove-rpath $i
|
||||||
else
|
else
|
||||||
rpath2=$rpath:$lib/lib:$out/jre/lib/amd64/jli:$out/lib:$out/lib64:$out/nvvm/lib:$out/nvvm/lib64
|
rpath2=$rpath:$lib/lib:$out/jre/lib/amd64/jli:$out/lib:$out/lib64:$out/nvvm/lib:$out/nvvm/lib64
|
||||||
|
patchelf --set-rpath "$rpath2" --force-rpath $i
|
||||||
fi
|
fi
|
||||||
patchelf --set-rpath "$rpath2" --force-rpath $i
|
|
||||||
done < <(find $out $lib $doc -type f -print0)
|
done < <(find $out $lib $doc -type f -print0)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ assert enableGeoLocation -> geoclue2 != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "webkitgtk";
|
pname = "webkitgtk";
|
||||||
version = "2.32.3";
|
version = "2.32.4";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
|
url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-wfSW9axlTv5M72L71PL77u8mWgfF50GeXSkAv+6lLLw=";
|
sha256 = "1zfkfyhm4i7901pp32wcwcfxax69qgq5k44x0glwaywdg4zjvkh0";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = lib.optionals stdenv.isLinux [
|
patches = lib.optionals stdenv.isLinux [
|
||||||
|
|
|
@ -11,14 +11,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gitpython";
|
pname = "gitpython";
|
||||||
version = "3.1.23";
|
version = "3.1.24";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gitpython-developers";
|
owner = "gitpython-developers";
|
||||||
repo = "GitPython";
|
repo = "GitPython";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-1+jMg5pOrYJBgv/q9FFnR5Ujc8pwEPZHfLssNnt8nmA=";
|
sha256 = "sha256-KfR14EqXsDgIZUerk/hHDB0Z7IuqncbTNd/yNwrV9I0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -17,14 +17,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "httpcore";
|
pname = "httpcore";
|
||||||
version = "0.13.6";
|
version = "0.13.7";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "encode";
|
owner = "encode";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-7G7jchOQTgcFSGZfoMPFm0NY9ofg5MM5Xn5lV+W9w8k=";
|
sha256 = "sha256-9hG9MqqEYMT2j7tXafToGYwHbJfp9/klNqZozHSbweE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -7,14 +7,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "identify";
|
pname = "identify";
|
||||||
version = "2.2.14";
|
version = "2.2.15";
|
||||||
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pre-commit";
|
owner = "pre-commit";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-hQpI69jBEtKYQuB+lx4oF2Ud77IajlAPYWl8IxtSTNo=";
|
sha256 = "sha256-mr778CszspTuKSPwXBDaehCMqbfkNFgAVzpkn7seVoU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pontos";
|
pname = "pontos";
|
||||||
version = "21.7.4";
|
version = "21.9.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||||
owner = "greenbone";
|
owner = "greenbone";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "12z74fp21kv6jf4cwc4hd5xvl5lilhmpprcqimdg85pcddc4zwc2";
|
sha256 = "sha256-oNE15BGLKStIyMkuSyypZKFxa73Qsgnf+SMz/rq/gGg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyads";
|
pname = "pyads";
|
||||||
version = "3.3.7";
|
version = "3.3.8";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "stlehmann";
|
owner = "stlehmann";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-h3c6z+dmrOc1Q7E8YVJZJD2FsxoxqQX5J92SEweIpto=";
|
sha256 = "sha256-jhEVBndUOKM8rBX0LEqPTMLqbpizCiD7T+OCzbVgLM8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyvera";
|
pname = "pyvera";
|
||||||
version = "0.3.13";
|
version = "0.3.14";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pavoni";
|
owner = "pavoni";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0vh82bwgbq93jrwi9q4da534paknpak8hxi4wwlxh3qcvnpy1njv";
|
sha256 = "sha256-CuXsyHlRw5zqDrQfMT4BzHsmox8MLRKxFKwR5M0XoEM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rapidfuzz";
|
pname = "rapidfuzz";
|
||||||
version = "1.6.0";
|
version = "1.6.2";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||||
repo = "RapidFuzz";
|
repo = "RapidFuzz";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-dJz6OzzjqWZwzDVJzJVUshK0HDP/Bz5cML0TrwVVcvg=";
|
sha256 = "sha256-tzjtvM5b9RD+Uqg5wT+FtSgjbAc0IgoDAmUFNpXQ9KA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "trimesh";
|
pname = "trimesh";
|
||||||
version = "3.9.29";
|
version = "3.9.30";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-YEddrun9rLcWk2u3Tfus8W014bU4BKWXWOOhCW/jSlY=";
|
sha256 = "ad1585906cdb49bd780f51f01e4c9946cc77fc0cfb0eb4a9a98cfbd12d7f1a3d";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy ];
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
26
pkgs/development/tools/hors/default.nix
Normal file
26
pkgs/development/tools/hors/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, rustPlatform, fetchFromGitHub }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "hors";
|
||||||
|
version = "0.8.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "windsoilder";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1q17i8zg7dwd8al42wfnkn891dy5hdhw4325plnihkarr50avbr0";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-1PB/JvgfC6qABI+cIePqtsSlZXPqMGQIay9SCXJkV9o=";
|
||||||
|
|
||||||
|
# requires network access
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Instant coding answers via the command line";
|
||||||
|
homepage = "https://github.com/windsoilder/hors";
|
||||||
|
changelog = "https://github.com/WindSoilder/hors/blob/v${version}/CHANGELOG.md";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
doCheck = stdenv.name == "stdenv-linux";
|
doCheck = stdenv.name == "stdenv-linux";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/NixOS/patchelf/blob/master/README";
|
homepage = "https://github.com/NixOS/patchelf";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
|
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
|
||||||
maintainers = [ maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
|
|
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/NixOS/patchelf/blob/master/README";
|
homepage = "https://github.com/NixOS/patchelf";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
|
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
|
||||||
maintainers = [ maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
|
|
|
@ -9,20 +9,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wasm-pack";
|
pname = "wasm-pack";
|
||||||
version = "0.9.1";
|
version = "0.10.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rustwasm";
|
owner = "rustwasm";
|
||||||
repo = "wasm-pack";
|
repo = "wasm-pack";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1rqyfg6ajxxyfx87ar25nf5ck9hd0p12qgv98dicniqag8l4rvsr";
|
sha256 = "sha256-I5TxpJTSus3fXMV0We9SCVMEERS0wIdYvC8SHo8zEHY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoPatches = [
|
cargoSha256 = "sha256-MmbQb2JYaDpLijKRAxzD9pR4gh+Eoem0MtfdiuRC7Tg=";
|
||||||
./update-deps.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoSha256 = "130gqvzpyr055xkqcy1r0y7l5k2dcv7n9zgr4ja7dm7iayzbwwi1";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -33,6 +29,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
libressl
|
libressl
|
||||||
] ++ lib.optionals stdenv.isDarwin [ curl Security ];
|
] ++ lib.optionals stdenv.isDarwin [ curl Security ];
|
||||||
|
|
||||||
|
# Needed to get openssl-sys to use pkg-config.
|
||||||
|
OPENSSL_NO_VENDOR = 1;
|
||||||
|
|
||||||
# Most tests rely on external resources and build artifacts.
|
# Most tests rely on external resources and build artifacts.
|
||||||
# Disabling check here to work with build sandboxing.
|
# Disabling check here to work with build sandboxing.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -13,21 +13,21 @@
|
||||||
},
|
},
|
||||||
"5.10": {
|
"5.10": {
|
||||||
"extra": "-hardened1",
|
"extra": "-hardened1",
|
||||||
"name": "linux-hardened-5.10.66-hardened1.patch",
|
"name": "linux-hardened-5.10.67-hardened1.patch",
|
||||||
"sha256": "0pj5ja28byaxgfvlwsljfha5a3ihg9s0cy4lpzxmagvz00nhbpvf",
|
"sha256": "1yvfqkcffrva9hf4ns0jkksnvkj58h87msim0yhanlyp5jyz3l1p",
|
||||||
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.66-hardened1/linux-hardened-5.10.66-hardened1.patch"
|
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.67-hardened1/linux-hardened-5.10.67-hardened1.patch"
|
||||||
},
|
},
|
||||||
"5.13": {
|
"5.13": {
|
||||||
"extra": "-hardened1",
|
"extra": "-hardened1",
|
||||||
"name": "linux-hardened-5.13.18-hardened1.patch",
|
"name": "linux-hardened-5.13.19-hardened1.patch",
|
||||||
"sha256": "1cdr6l5c4j6666lvkxv30bfkhnf9sf5j7kqwc37pjk9kqmwnfbz1",
|
"sha256": "1cj99y2xn7l89lf4mn7arp0r98r4nmvql3ffjpngzv8hsf79xgg7",
|
||||||
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.13.18-hardened1/linux-hardened-5.13.18-hardened1.patch"
|
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.13.19-hardened1/linux-hardened-5.13.19-hardened1.patch"
|
||||||
},
|
},
|
||||||
"5.14": {
|
"5.14": {
|
||||||
"extra": "-hardened1",
|
"extra": "-hardened1",
|
||||||
"name": "linux-hardened-5.14.5-hardened1.patch",
|
"name": "linux-hardened-5.14.6-hardened1.patch",
|
||||||
"sha256": "0qx7i9clxla2g59mcncg1wf07kvb5lpqkhdrc66xzpci65rq0qpd",
|
"sha256": "0db5jvbvrk93x745ylxwnmx6ldwhmaqdnb2hfa35j0i2xjaw4hxx",
|
||||||
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.14.5-hardened1/linux-hardened-5.14.5-hardened1.patch"
|
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.14.6-hardened1/linux-hardened-5.14.6-hardened1.patch"
|
||||||
},
|
},
|
||||||
"5.4": {
|
"5.4": {
|
||||||
"extra": "-hardened1",
|
"extra": "-hardened1",
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "5.10.66";
|
version = "5.10.67";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||||
sha256 = "19y8zh6wvjzj55kynfpgm3zbapyhwsqkgilycvmbjr6ipfxhdyjx";
|
sha256 = "10lap66d84s1cfakbgfsbabgxm42060c4wcvpzxbi4r5g2m40mwc";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "5.13.18";
|
version = "5.13.19";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0iqz34yjbk5zg8wc9majq7afg34nsgi0yxn0j4k3xrn22kyl2dm2";
|
sha256 = "0yxbcd1k4l4cmdn0hzcck4s0yvhvq9fpwp120dv9cz4i9rrfqxz8";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or { }))
|
} // (args.argsOverride or { }))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (args // rec {
|
||||||
version = "5.14.5";
|
version = "5.14.6";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||||
|
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||||
sha256 = "1zbcai5q1b5hjc3xhg05pghj5iyb0xsvrqyrazzmhrfbsqf8s5k5";
|
sha256 = "1v6cicakpg0fdp74r2a4h46sj7rzpjdf4cscbr8y67kpd098r12l";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or { }))
|
} // (args.argsOverride or { }))
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
, ... } @ args:
|
, ... } @ args:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.10.59-rt52"; # updated by ./update-rt.sh
|
version = "5.10.65-rt53"; # updated by ./update-rt.sh
|
||||||
branch = lib.versions.majorMinor version;
|
branch = lib.versions.majorMinor version;
|
||||||
kversion = builtins.elemAt (lib.splitString "-" version) 0;
|
kversion = builtins.elemAt (lib.splitString "-" version) 0;
|
||||||
in buildLinux (args // {
|
in buildLinux (args // {
|
||||||
|
@ -18,14 +18,14 @@ in buildLinux (args // {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz";
|
||||||
sha256 = "107anv16khx055rpkvfd532rdcfg4ffbs7bhp45hdqi3bz0ssg1k";
|
sha256 = "0riyq1gdm18642fpnhpcw8hspcjqzprzhqnygjxabjjvrvdxxlzd";
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPatches = let rt-patch = {
|
kernelPatches = let rt-patch = {
|
||||||
name = "rt";
|
name = "rt";
|
||||||
patch = fetchurl {
|
patch = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz";
|
url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz";
|
||||||
sha256 = "0i66z1njppn9qvl8msarcgbvmgby6hv8w0k0rmlizwj09i1pmwdx";
|
sha256 = "1sxyic3895dch3x7cabiip5lxv9wqypn22hcy02jg9825260cmd3";
|
||||||
};
|
};
|
||||||
}; in [ rt-patch ] ++ kernelPatches;
|
}; in [ rt-patch ] ++ kernelPatches;
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ numactl pkg-config ];
|
buildInputs = [ numactl pkg-config ];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
# Disable blanket -Werror to avoid build failures
|
||||||
|
# on fresh toolchains like gcc-11.
|
||||||
|
"WERROR="
|
||||||
|
];
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"DESTDIR=$(out)"
|
"DESTDIR=$(out)"
|
||||||
"UDEVDIR=/etc/udev"
|
"UDEVDIR=/etc/udev"
|
||||||
|
@ -35,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://github.com/intel/opa-psm2";
|
homepage = "https://github.com/intel/opa-psm2";
|
||||||
description = "The PSM2 library supports a number of fabric media and stacks";
|
description = "The PSM2 library supports a number of fabric media and stacks";
|
||||||
license = with licenses; [ gpl2 bsd3 ];
|
license = with licenses; [ gpl2 bsd3 ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
maintainers = [ maintainers.bzizou ];
|
maintainers = [ maintainers.bzizou ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,10 +19,10 @@ rec {
|
||||||
# Policy: use the highest stable version as the default (on our master).
|
# Policy: use the highest stable version as the default (on our master).
|
||||||
stable = if stdenv.hostPlatform.system == "x86_64-linux"
|
stable = if stdenv.hostPlatform.system == "x86_64-linux"
|
||||||
then generic {
|
then generic {
|
||||||
version = "470.63.01";
|
version = "470.74";
|
||||||
sha256_64bit = "sha256:057dsc0j3136r5gc08id3rwz9c0x7i01xkcwfk77vqic9b6486kg";
|
sha256_64bit = "sha256:0snzrb78f283rl92r5cqnr7bdk3yfkqpjac80sqskwi9wgg17r9k";
|
||||||
settingsSha256 = "sha256:0lizp4hn49yvca2yd76yh3awld98pkaa35a067lpcld35vb5brgv";
|
settingsSha256 = "sha256:0hd9973l0zd8a0ia1dysfrk30jqxff1rr07b79ggvqd1xnvv0iqn";
|
||||||
persistencedSha256 = "sha256:1f3gdpa23ipjy2xwf7qnxmw7w8xxhqy25rmcz34xkngjf4fn4pbs";
|
persistencedSha256 = "sha256:0i8wfhz53hdnabdcx9awki3nk6xa6dadzn91iswhmfm4jj6964jf";
|
||||||
}
|
}
|
||||||
else legacy_390;
|
else legacy_390;
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ lib, fetchFromGitHub, python3Packages }:
|
{ lib, fetchurl, python3Packages }:
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
pname = "heisenbridge";
|
pname = "heisenbridge";
|
||||||
version = "1.1.0";
|
version = "1.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
# Use the release tarball because it has the version set correctly using the
|
||||||
owner = "hifi";
|
# version.txt file.
|
||||||
repo = "heisenbridge";
|
src = fetchurl {
|
||||||
rev = "v${version}";
|
url = "https://github.com/hifi/heisenbridge/releases/download/v${version}/heisenbridge-v${version}.tar.gz";
|
||||||
sha256 = "sha256-7B4orrANb4hTXJ4cFYxhmrOgEIoU3TPmsR239JhIrTw=";
|
sha256 = "sha256-thI3NYYnLHmlfs5mmH2SQcREBLWtnilYlxriKWnamPM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ buildGoModule
|
{ buildGoModule
|
||||||
, buildGoPackage
|
, buildGoPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchurl
|
||||||
, go-bindata
|
, go-bindata
|
||||||
, lib
|
, lib
|
||||||
, llvmPackages
|
, llvmPackages
|
||||||
, mkYarnPackage
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, stdenv
|
, stdenv
|
||||||
|
@ -15,36 +15,21 @@
|
||||||
# dependencies nix expression.
|
# dependencies nix expression.
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.0.6";
|
version = "2.0.8";
|
||||||
shorthash = "4db98b4c9a"; # git rev-parse HEAD with 2.0.6 checked out
|
shorthash = "e91d41810f"; # git rev-parse HEAD with 2.0.8 checked out
|
||||||
libflux_version = "0.115.0";
|
libflux_version = "0.124.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "influxdata";
|
owner = "influxdata";
|
||||||
repo = "influxdb";
|
repo = "influxdb";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1x74p87csx4m4cgijk57xs75nikv3bnh7skgnzk30ab1ar13iirw";
|
sha256 = "0hbinnja13xr9ziyynjsnsbrxmyrvag7xdgfwq2ya28g07lw5wgq";
|
||||||
};
|
};
|
||||||
|
|
||||||
ui = mkYarnPackage {
|
ui = fetchurl {
|
||||||
src = src;
|
url = "https://github.com/influxdata/ui/releases/download/OSS-v${version}/build.tar.gz";
|
||||||
packageJSON = ./influx-ui-package.json;
|
# https://github.com/influxdata/ui/releases/download/OSS-v${version}/sha256.txt
|
||||||
yarnLock = "${src}/ui/yarn.lock";
|
sha256 = "94965ae999a1098c26128141fbb849be3da9a723d509118eb6e0db4384ee01fc";
|
||||||
yarnNix = ./influx-ui-yarndeps.nix;
|
|
||||||
configurePhase = ''
|
|
||||||
cp -r $node_modules ui/node_modules
|
|
||||||
rsync -r $node_modules/../deps/influxdb-ui/node_modules/ ui/node_modules
|
|
||||||
'';
|
|
||||||
INFLUXDB_SHA = shorthash;
|
|
||||||
buildPhase = ''
|
|
||||||
pushd ui
|
|
||||||
yarn build:ci
|
|
||||||
popd
|
|
||||||
'';
|
|
||||||
installPhase = ''
|
|
||||||
mv ui/build $out
|
|
||||||
'';
|
|
||||||
distPhase = "true";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
flux = rustPlatform.buildRustPackage {
|
flux = rustPlatform.buildRustPackage {
|
||||||
|
@ -54,10 +39,10 @@ let
|
||||||
owner = "influxdata";
|
owner = "influxdata";
|
||||||
repo = "flux";
|
repo = "flux";
|
||||||
rev = "v${libflux_version}";
|
rev = "v${libflux_version}";
|
||||||
sha256 = "0zplwsk9xidv8l9sqbxqivy6q20ryd31fhrzspn1mjn4i45kkwz1";
|
sha256 = "1g1qilfzxqbbjbfvgkf7k7spcnhzvlmrqacpqdl05418ywkp3v29";
|
||||||
};
|
};
|
||||||
sourceRoot = "source/libflux";
|
sourceRoot = "source/libflux";
|
||||||
cargoSha256 = "06gh466q7qkid0vs5scic0qqlz3h81yb00nwn8nwq8ppr5z2ijyq";
|
cargoSha256 = "0farcjwnwwgfvcgbs5r6vsdrsiwq2mp82sjxkqb1pzqfls4ixcxj";
|
||||||
nativeBuildInputs = [ llvmPackages.libclang ];
|
nativeBuildInputs = [ llvmPackages.libclang ];
|
||||||
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||||
|
@ -85,7 +70,7 @@ in buildGoModule {
|
||||||
|
|
||||||
nativeBuildInputs = [ go-bindata pkg-config ];
|
nativeBuildInputs = [ go-bindata pkg-config ];
|
||||||
|
|
||||||
vendorSha256 = "03pabm0h9q0v5dfdq9by2l2n32bz9imwalz0aw897vsrfhci0ldf";
|
vendorSha256 = "1kar88vlm6px7smlnajpyf8qx6d481xk979qafpfb1xy8931781m";
|
||||||
subPackages = [ "cmd/influxd" "cmd/influx" ];
|
subPackages = [ "cmd/influxd" "cmd/influx" ];
|
||||||
|
|
||||||
PKG_CONFIG_PATH = "${flux}/pkgconfig";
|
PKG_CONFIG_PATH = "${flux}/pkgconfig";
|
||||||
|
@ -95,7 +80,8 @@ in buildGoModule {
|
||||||
# the relevant go:generate directives, and run them by hand without
|
# the relevant go:generate directives, and run them by hand without
|
||||||
# breaking hermeticity.
|
# breaking hermeticity.
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
ln -s ${ui} ui/build
|
tar -xzf ${ui} -C static/data
|
||||||
|
|
||||||
grep -RI -e 'go:generate.*go-bindata' | cut -f1 -d: | while read -r filename; do
|
grep -RI -e 'go:generate.*go-bindata' | cut -f1 -d: | while read -r filename; do
|
||||||
sed -i -e 's/go:generate.*go-bindata/go:generate go-bindata/' $filename
|
sed -i -e 's/go:generate.*go-bindata/go:generate go-bindata/' $filename
|
||||||
pushd $(dirname $filename)
|
pushd $(dirname $filename)
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dolt";
|
pname = "dolt";
|
||||||
version = "0.27.4";
|
version = "0.27.4.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "liquidata-inc";
|
owner = "liquidata-inc";
|
||||||
repo = "dolt";
|
repo = "dolt";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-q3zs402E3mqvxAuf/ll/ao9/c9NOWR7uYJMbieFXS1U=";
|
sha256 = "sha256-nEIYt9yPDxPbJ/IHH8eQpVSNtC5pYiagCC5TliqX11M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
modRoot = "./go";
|
modRoot = "./go";
|
||||||
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
||||||
vendorSha256 = "sha256-zF7pofbYrVzEiW6zttyePuEWueqKRKclc0WrYwb1bCU=";
|
vendorSha256 = "sha256-XbKaPbPIgUxqJB8kgd3fJIESO9XvNREExdp06Th2bu0=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
35
pkgs/tools/graphics/sic-image-cli/default.nix
Normal file
35
pkgs/tools/graphics/sic-image-cli/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib, rustPlatform, fetchFromGitHub, installShellFiles, nasm }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "sic-image-cli";
|
||||||
|
version = "0.19.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "foresterre";
|
||||||
|
repo = "sic";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "11km8ngndmzp6sxyfnbll80nigi790s353v7j31jvqcgyn9gjdq9";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-mHfQ36Xo37VRRq0y0xvUYy0MAlrfnOfMy1t3IZFdrE8=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles nasm ];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
cargo run --example gen_completions
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion sic.{bash,fish}
|
||||||
|
installShellCompletion --zsh _sic
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Accessible image processing and conversion from the terminal";
|
||||||
|
homepage = "https://github.com/foresterre/sic-image-cli";
|
||||||
|
changelog = "https://github.com/foresterre/sic/blob/v${version}/CHANGELOG.md";
|
||||||
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
mainProgram = "sic";
|
||||||
|
};
|
||||||
|
}
|
27
pkgs/tools/misc/pipe-rename/default.nix
Normal file
27
pkgs/tools/misc/pipe-rename/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ lib, rustPlatform, fetchCrate, python3 }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "pipe-rename";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
src = fetchCrate {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-AMBdDsn3jS2dXUnEDKZILUlLHS9FIECZhc3EjxLoOZU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-ulNyTRRFtHQ7+sRaKczLiDPIKG2TIcbbsD9x1di2ypw=";
|
||||||
|
|
||||||
|
checkInputs = [ python3 ];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
patchShebangs tests/editors/env-editor.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Rename your files using your favorite text editor";
|
||||||
|
homepage = "https://github.com/marcusbuffet/pipe-rename";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
mainProgram = "renamer";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoModule {
|
buildGoModule rec {
|
||||||
pname = "cni-plugin-flannel";
|
pname = "cni-plugin-flannel";
|
||||||
version = "unstable-2021-09-10";
|
version = "1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "flannel-io";
|
owner = "flannel-io";
|
||||||
repo = "cni-plugin";
|
repo = "cni-plugin";
|
||||||
rev = "8ce83510da59681da905dccb8364af9472cac341";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-x6F8n+IJ1pZdbDwniWWmoGKgQm235ax3mbOcbYqWLCs=";
|
sha256 = "sha256-s2gibebXTqM/12nDHwc89geWxA6gZi9/if5VnUFoTDE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-TLAwE3pTnJYOi1AsOQfsG6t3xLKOah/7DvYjsqyltKs=";
|
vendorSha256 = "sha256-TLAwE3pTnJYOi1AsOQfsG6t3xLKOah/7DvYjsqyltKs=";
|
||||||
|
|
|
@ -8081,6 +8081,8 @@ with pkgs;
|
||||||
|
|
||||||
pick = callPackage ../tools/misc/pick { };
|
pick = callPackage ../tools/misc/pick { };
|
||||||
|
|
||||||
|
pipe-rename = callPackage ../tools/misc/pipe-rename { };
|
||||||
|
|
||||||
pitivi = callPackage ../applications/video/pitivi { };
|
pitivi = callPackage ../applications/video/pitivi { };
|
||||||
|
|
||||||
prism = callPackage ../applications/video/prism { };
|
prism = callPackage ../applications/video/prism { };
|
||||||
|
@ -24888,6 +24890,8 @@ with pkgs;
|
||||||
gtk = gtk3;
|
gtk = gtk3;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hors = callPackage ../development/tools/hors { };
|
||||||
|
|
||||||
hover = callPackage ../development/tools/hover { };
|
hover = callPackage ../development/tools/hover { };
|
||||||
|
|
||||||
hovercraft = python3Packages.callPackage ../applications/misc/hovercraft { };
|
hovercraft = python3Packages.callPackage ../applications/misc/hovercraft { };
|
||||||
|
@ -27160,6 +27164,8 @@ with pkgs;
|
||||||
|
|
||||||
shutter = callPackage ../applications/graphics/shutter { };
|
shutter = callPackage ../applications/graphics/shutter { };
|
||||||
|
|
||||||
|
sic-image-cli = callPackage ../tools/graphics/sic-image-cli { };
|
||||||
|
|
||||||
simple-scan = gnome.simple-scan;
|
simple-scan = gnome.simple-scan;
|
||||||
|
|
||||||
siproxd = callPackage ../applications/networking/siproxd { };
|
siproxd = callPackage ../applications/networking/siproxd { };
|
||||||
|
|
Loading…
Reference in a new issue