Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
5663f462 728f30ca

+151 -139
+32
pkgs/applications/editors/emacs/elisp-packages/ement/default.nix
···
··· 1 + { trivialBuild 2 + , lib 3 + , fetchFromGitHub 4 + , curl 5 + , plz 6 + , cl-lib 7 + , ts 8 + }: 9 + 10 + trivialBuild { 11 + pname = "ement"; 12 + version = "unstable-2021-09-08"; 13 + 14 + packageRequires = [ 15 + plz 16 + cl-lib 17 + ts 18 + ]; 19 + 20 + src = fetchFromGitHub { 21 + owner = "alphapapa"; 22 + repo = "ement.el"; 23 + rev = "468aa9b0526aaa054f059c63797aa3d9ea13611d"; 24 + sha256 = "sha256-0FCAu253iTSf9qcsmoJxKlzfd5eYc8eJXUxG6+0eg/I="; 25 + }; 26 + 27 + meta = { 28 + description = "Ement.el is a Matrix client for Emacs"; 29 + license = lib.licenses.gpl3Only; 30 + platforms = lib.platforms.all; 31 + }; 32 + }
+4
pkgs/applications/editors/emacs/elisp-packages/manual-packages.nix
··· 264 265 emacspeak = callPackage ./emacspeak { }; 266 267 ess-R-object-popup = callPackage ./ess-R-object-popup { }; 268 269 font-lock-plus = callPackage ./font-lock-plus { }; ··· 283 org-mac-link = callPackage ./org-mac-link { }; 284 285 perl-completion = callPackage ./perl-completion { }; 286 287 pod-mode = callPackage ./pod-mode { }; 288
··· 264 265 emacspeak = callPackage ./emacspeak { }; 266 267 + ement = callPackage ./ement { }; 268 + 269 ess-R-object-popup = callPackage ./ess-R-object-popup { }; 270 271 font-lock-plus = callPackage ./font-lock-plus { }; ··· 285 org-mac-link = callPackage ./org-mac-link { }; 286 287 perl-completion = callPackage ./perl-completion { }; 288 + 289 + plz = callPackage ./plz { }; 290 291 pod-mode = callPackage ./pod-mode { }; 292
+23
pkgs/applications/editors/emacs/elisp-packages/plz/default.nix
···
··· 1 + { trivialBuild, lib, fetchFromGitHub, curl }: 2 + 3 + trivialBuild { 4 + pname = "plz"; 5 + version = "unstable-2021-08-22"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "alphapapa"; 9 + repo = "plz.el"; 10 + rev = "7e456638a651bab3a814e3ea81742dd917509cbb"; 11 + sha256 = "sha256-8kn9ax1AVF6f9iCTqvVeJZihs03pYAhLjUDooG/ubxY="; 12 + }; 13 + 14 + postPatch = '' 15 + substituteInPlace ./plz.el --replace 'plz-curl-program "curl"' 'plz-curl-program "${curl}/bin/curl"' 16 + ''; 17 + 18 + meta = { 19 + description = "plz is an HTTP library for Emacs"; 20 + license = lib.licenses.gpl3Only; 21 + platforms = lib.platforms.all; 22 + }; 23 + }
+3 -3
pkgs/applications/misc/numberstation/default.nix
··· 15 16 python3.pkgs.buildPythonApplication rec { 17 pname = "numberstation"; 18 - version = "0.4.0"; 19 20 format = "other"; 21 ··· 23 owner = "~martijnbraam"; 24 repo = "numberstation"; 25 rev = version; 26 - sha256 = "038yyffqknr274f7jh5z12y68pjxr37f8y2cn2pwhf605jmbmpwv"; 27 }; 28 29 postPatch = '' ··· 63 description = "TOTP Authentication application for mobile"; 64 homepage = "https://sr.ht/~martijnbraam/numberstation/"; 65 license = licenses.gpl3Only; 66 - maintainers = with maintainers; [ dotlambda ]; 67 }; 68 }
··· 15 16 python3.pkgs.buildPythonApplication rec { 17 pname = "numberstation"; 18 + version = "0.5.0"; 19 20 format = "other"; 21 ··· 23 owner = "~martijnbraam"; 24 repo = "numberstation"; 25 rev = version; 26 + sha256 = "1hh66i0rfm85a97iajxlh965wk68hn0kkfgi9cljjkqf98xiy0bb"; 27 }; 28 29 postPatch = '' ··· 63 description = "TOTP Authentication application for mobile"; 64 homepage = "https://sr.ht/~martijnbraam/numberstation/"; 65 license = licenses.gpl3Only; 66 + maintainers = with maintainers; [ dotlambda tomfitzhenry ]; 67 }; 68 }
+6 -6
pkgs/applications/misc/obinskit/default.nix
··· 4 , libxkbcommon 5 , systemd 6 , xorg 7 - , electron_3 8 , makeWrapper 9 , makeDesktopItem 10 }: ··· 17 genericName = "Obinskit keyboard configurator"; 18 categories = "Utility"; 19 }; 20 - electron = electron_3; 21 in 22 stdenv.mkDerivation rec { 23 pname = "obinskit"; 24 - version = "1.1.4"; 25 26 src = fetchurl { 27 url = "http://releases.obins.net/occ/linux/tar/ObinsKit_${version}_x64.tar.gz"; 28 - sha256 = "0q422rmfn4k4ww1qlgrwdmxz4l10dxkd6piynbcw5cr4i5icnh2l"; 29 }; 30 31 unpackPhase = "tar -xzf $src"; ··· 51 postFixup = '' 52 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 53 --add-flags $out/opt/obinskit/resources/app.asar \ 54 - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc.lib libxkbcommon (lib.getLib systemd) xorg.libXt ]}" 55 ''; 56 57 meta = with lib; { 58 description = "Graphical configurator for Anne Pro and Anne Pro II keyboards"; 59 - homepage = "http://en.obins.net/obinskit/"; # https is broken 60 license = licenses.unfree; 61 maintainers = with maintainers; [ shou ]; 62 platforms = [ "x86_64-linux" ];
··· 4 , libxkbcommon 5 , systemd 6 , xorg 7 + , electron_11 8 , makeWrapper 9 , makeDesktopItem 10 }: ··· 17 genericName = "Obinskit keyboard configurator"; 18 categories = "Utility"; 19 }; 20 + electron = electron_11; 21 in 22 stdenv.mkDerivation rec { 23 pname = "obinskit"; 24 + version = "1.1.8"; 25 26 src = fetchurl { 27 url = "http://releases.obins.net/occ/linux/tar/ObinsKit_${version}_x64.tar.gz"; 28 + sha256 = "MgasbgexOdscQrUte/6OzCSrc74RvaBq44oHplQA/Gc="; 29 }; 30 31 unpackPhase = "tar -xzf $src"; ··· 51 postFixup = '' 52 makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 53 --add-flags $out/opt/obinskit/resources/app.asar \ 54 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc.lib libxkbcommon (lib.getLib systemd) xorg.libXt xorg.libXtst ]}" 55 ''; 56 57 meta = with lib; { 58 description = "Graphical configurator for Anne Pro and Anne Pro II keyboards"; 59 + homepage = "https://www.hexcore.xyz/obinskit"; 60 license = licenses.unfree; 61 maintainers = with maintainers; [ shou ]; 62 platforms = [ "x86_64-linux" ];
+8 -2
pkgs/applications/networking/instant-messengers/chatty/default.nix
··· 10 , wrapGAppsHook 11 , evolution-data-server 12 , feedbackd 13 , gtk3 14 , json-glib 15 , libgcrypt 16 , libhandy 17 , libphonenumber 18 , olm 19 , pidgin 20 , protobuf ··· 24 25 stdenv.mkDerivation rec { 26 pname = "chatty"; 27 - version = "0.3.4"; 28 29 src = fetchFromGitLab { 30 domain = "source.puri.sm"; 31 owner = "Librem5"; 32 repo = "chatty"; 33 rev = "v${version}"; 34 - sha256 = "0910f5bw75ph576gxbsd6ysdwnlk4ysdp0pml2i3mjqpcbkqfs3w"; 35 }; 36 37 postPatch = '' ··· 51 buildInputs = [ 52 evolution-data-server 53 feedbackd 54 gtk3 55 json-glib 56 libgcrypt 57 libhandy 58 libphonenumber 59 olm 60 pidgin 61 protobuf
··· 10 , wrapGAppsHook 11 , evolution-data-server 12 , feedbackd 13 + , glibmm 14 + , gspell 15 , gtk3 16 , json-glib 17 , libgcrypt 18 , libhandy 19 , libphonenumber 20 + , modemmanager 21 , olm 22 , pidgin 23 , protobuf ··· 27 28 stdenv.mkDerivation rec { 29 pname = "chatty"; 30 + version = "0.4.0"; 31 32 src = fetchFromGitLab { 33 domain = "source.puri.sm"; 34 owner = "Librem5"; 35 repo = "chatty"; 36 rev = "v${version}"; 37 + sha256 = "12k1a5xrwd6zk4x0m53hbzggk695z3bpbzy1wcikzy0jvch7h13d"; 38 }; 39 40 postPatch = '' ··· 54 buildInputs = [ 55 evolution-data-server 56 feedbackd 57 + glibmm 58 + gspell 59 gtk3 60 json-glib 61 libgcrypt 62 libhandy 63 libphonenumber 64 + modemmanager 65 olm 66 pidgin 67 protobuf
+2 -2
pkgs/applications/networking/nextdns/default.nix
··· 2 3 buildGoModule rec { 4 pname = "nextdns"; 5 - version = "1.36.0"; 6 7 src = fetchFromGitHub { 8 owner = "nextdns"; 9 repo = "nextdns"; 10 rev = "v${version}"; 11 - sha256 = "sha256-aYWnopMRN0CDFpiWymhFT+f7vbKaP2HpjekVIr2rsME="; 12 }; 13 14 vendorSha256 = "sha256-YZm+DUrH+1xdJrGjmlajbcsnqVODVbZKivVjmqZ2e48=";
··· 2 3 buildGoModule rec { 4 pname = "nextdns"; 5 + version = "1.37.2"; 6 7 src = fetchFromGitHub { 8 owner = "nextdns"; 9 repo = "nextdns"; 10 rev = "v${version}"; 11 + sha256 = "sha256-R0n/wRCaQ8WvQer3bBLUmOdIojtfjXU0bs0pTn7L0lc="; 12 }; 13 14 vendorSha256 = "sha256-YZm+DUrH+1xdJrGjmlajbcsnqVODVbZKivVjmqZ2e48=";
+2 -2
pkgs/applications/radio/pyradio/default.nix
··· 2 3 python3Packages.buildPythonApplication rec { 4 pname = "pyradio"; 5 - version = "0.8.7.2"; 6 7 src = fetchFromGitHub { 8 owner = "coderholic"; 9 repo = pname; 10 rev = version; 11 - sha256 = "0h2sxaqpmc1d1kpvpbcs9wymgzhx25x0x9p7dbyfw9r90i6123q1"; 12 }; 13 14 checkPhase = ''
··· 2 3 python3Packages.buildPythonApplication rec { 4 pname = "pyradio"; 5 + version = "0.8.9.9"; 6 7 src = fetchFromGitHub { 8 owner = "coderholic"; 9 repo = pname; 10 rev = version; 11 + sha256 = "04asw5alkkf2q5iixswarj6ddb0y4a6ixm7cckl6204jiyxpv6kc"; 12 }; 13 14 checkPhase = ''
+2 -2
pkgs/applications/science/biology/picard-tools/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "picard-tools"; 5 - version = "2.26.0"; 6 7 src = fetchurl { 8 url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar"; 9 - sha256 = "sha256-sz/7MtcCJlUlrNy16W1YB/zXMhYeLLbQOIOdzNsGW7w="; 10 }; 11 12 nativeBuildInputs = [ makeWrapper ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "picard-tools"; 5 + version = "2.26.2"; 6 7 src = fetchurl { 8 url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar"; 9 + sha256 = "sha256-mfqxaZpzX9BIoFl1okN3TxzJnoepsoMR1KqHLQY5BHQ="; 10 }; 11 12 nativeBuildInputs = [ makeWrapper ];
+5 -2
pkgs/applications/version-management/git-and-tools/gitui/default.nix
··· 1 - { lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }: 2 rustPlatform.buildRustPackage rec { 3 pname = "gitui"; 4 version = "0.17.1"; ··· 12 13 cargoSha256 = "sha256-9uRvxax0SrvRkD89mbZPxsfRItde11joA/ZgnXK9XBE="; 14 15 - nativeBuildInputs = [ python3 perl ]; 16 buildInputs = [ openssl ] 17 ++ lib.optional stdenv.isLinux xclip 18 ++ lib.optionals stdenv.isDarwin [ libiconv Security AppKit ]; 19 20 meta = with lib; { 21 description = "Blazing fast terminal-ui for git written in rust";
··· 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip, pkg-config }: 2 rustPlatform.buildRustPackage rec { 3 pname = "gitui"; 4 version = "0.17.1"; ··· 12 13 cargoSha256 = "sha256-9uRvxax0SrvRkD89mbZPxsfRItde11joA/ZgnXK9XBE="; 14 15 + nativeBuildInputs = [ python3 perl pkg-config ]; 16 buildInputs = [ openssl ] 17 ++ lib.optional stdenv.isLinux xclip 18 ++ lib.optionals stdenv.isDarwin [ libiconv Security AppKit ]; 19 + 20 + # Needed to get openssl-sys to use pkg-config. 21 + OPENSSL_NO_VENDOR = 1; 22 23 meta = with lib; { 24 description = "Blazing fast terminal-ui for git written in rust";
+12 -13
pkgs/applications/video/streamlink/default.nix
··· 1 { lib 2 - , python3 3 - , fetchFromGitHub 4 , rtmpdump 5 , ffmpeg 6 }: 7 8 - python3.pkgs.buildPythonApplication rec { 9 pname = "streamlink"; 10 - version = "2.3.0"; 11 12 - src = fetchFromGitHub { 13 - owner = "streamlink"; 14 - repo = "streamlink"; 15 - rev = version; 16 - sha256 = "sha256-lsurDFvVHn1rxR3bgG7BY512ISavpja36/UaKXauf+g="; 17 }; 18 19 - checkInputs = with python3.pkgs; [ 20 pytestCheckHook 21 mock 22 requests-mock 23 freezegun 24 ]; 25 26 - propagatedBuildInputs = (with python3.pkgs; [ 27 pycryptodome 28 requests 29 iso-639 30 iso3166 31 websocket-client 32 isodate 33 ]) ++ [ 34 rtmpdump 35 ffmpeg ··· 38 # note that upstream currently uses requests 2.25.1 in Windows builds 39 postPatch = '' 40 substituteInPlace setup.py \ 41 - --replace 'requests>=2.26.0,<3.0' 'requests>=2.25.1,<3.0' 42 ''; 43 44 meta = with lib; { 45 - homepage = "https://github.com/streamlink/streamlink"; 46 description = "CLI for extracting streams from various websites to video player of your choosing"; 47 longDescription = '' 48 Streamlink is a CLI utility that pipes videos from online ··· 51 52 Streamlink is a fork of the livestreamer project. 53 ''; 54 license = licenses.bsd2; 55 platforms = platforms.linux ++ platforms.darwin; 56 maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ];
··· 1 { lib 2 + , python3Packages 3 , rtmpdump 4 , ffmpeg 5 }: 6 7 + python3Packages.buildPythonApplication rec { 8 pname = "streamlink"; 9 + version = "2.4.0"; 10 11 + src = python3Packages.fetchPypi { 12 + inherit pname version; 13 + sha256 = "e95588e222d1a7bd51e3171cd4bce84fd6f646418537aff37993d40f597810af"; 14 }; 15 16 + checkInputs = with python3Packages; [ 17 pytestCheckHook 18 mock 19 requests-mock 20 freezegun 21 ]; 22 23 + propagatedBuildInputs = (with python3Packages; [ 24 pycryptodome 25 requests 26 iso-639 27 iso3166 28 websocket-client 29 isodate 30 + lxml 31 ]) ++ [ 32 rtmpdump 33 ffmpeg ··· 36 # note that upstream currently uses requests 2.25.1 in Windows builds 37 postPatch = '' 38 substituteInPlace setup.py \ 39 + --replace 'requests>=2.26.0,<3.0' 'requests' 40 ''; 41 42 meta = with lib; { 43 + homepage = "https://streamlink.github.io/"; 44 description = "CLI for extracting streams from various websites to video player of your choosing"; 45 longDescription = '' 46 Streamlink is a CLI utility that pipes videos from online ··· 49 50 Streamlink is a fork of the livestreamer project. 51 ''; 52 + changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md"; 53 license = licenses.bsd2; 54 platforms = platforms.linux ++ platforms.darwin; 55 maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ];
+2 -2
pkgs/development/tools/metals/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "metals"; 5 - version = "0.10.5"; 6 7 deps = stdenv.mkDerivation { 8 name = "${pname}-deps-${version}"; ··· 16 ''; 17 outputHashMode = "recursive"; 18 outputHashAlgo = "sha256"; 19 - outputHash = "0n0y522izqlyls3sn2x6mdjy0pmhrl1kr7z5fqac6wrpgcsczf01"; 20 }; 21 22 nativeBuildInputs = [ makeWrapper ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "metals"; 5 + version = "0.10.6"; 6 7 deps = stdenv.mkDerivation { 8 name = "${pname}-deps-${version}"; ··· 16 ''; 17 outputHashMode = "recursive"; 18 outputHashAlgo = "sha256"; 19 + outputHash = "1f31z5isr34acv3nbsdigk3h426vind2zk5qvy44zmb5qmlb15x9"; 20 }; 21 22 nativeBuildInputs = [ makeWrapper ];
+3 -3
pkgs/development/tools/misc/terraformer/default.nix
··· 2 3 buildGoModule rec { 4 pname = "terraformer"; 5 - version = "0.8.15"; 6 7 src = fetchFromGitHub { 8 owner = "GoogleCloudPlatform"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-d8DOUvUj5hdc1kcd0vgMufVIOJqV0eG4sXQIX597L/w="; 12 }; 13 14 - vendorSha256 = "sha256-VQ3yZQqpq9KbAkBDnQAfOE+axlT0GhvUpMIjb59PYT0="; 15 16 subPackages = [ "." ]; 17
··· 2 3 buildGoModule rec { 4 pname = "terraformer"; 5 + version = "0.8.16"; 6 7 src = fetchFromGitHub { 8 owner = "GoogleCloudPlatform"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-W2Lt24wYYVLaQBtljWrReTZyHj6b9SPHKBdxaMJYUcU="; 12 }; 13 14 + vendorSha256 = "sha256-bJbPshTB5VOyyhY2iMVe1GLedRFbWBL4Q5eKLBsVrTA="; 15 16 subPackages = [ "." ]; 17
+2 -2
pkgs/servers/nats-server/default.nix
··· 4 5 buildGoPackage rec { 6 pname = "nats-server"; 7 - version = "2.4.0"; 8 9 goPackagePath = "github.com/nats-io/${pname}"; 10 ··· 12 rev = "v${version}"; 13 owner = "nats-io"; 14 repo = pname; 15 - sha256 = "sha256-v758qj1dy8zh3zfZxKkKALxZqNAxc1XdtTW4dxU4l5A="; 16 }; 17 18 meta = {
··· 4 5 buildGoPackage rec { 6 pname = "nats-server"; 7 + version = "2.5.0"; 8 9 goPackagePath = "github.com/nats-io/${pname}"; 10 ··· 12 rev = "v${version}"; 13 owner = "nats-io"; 14 repo = pname; 15 + sha256 = "sha256-q6TgRbIorOL9ZSLdjAbqbwY60XJ2cZhxUHMrzGGZG8I="; 16 }; 17 18 meta = {
+2 -2
pkgs/servers/teleport/default.nix
··· 10 in 11 buildGoModule rec { 12 pname = "teleport"; 13 - version = "7.0.3"; 14 15 # This repo has a private submodule "e" which fetchgit cannot handle without failing. 16 src = fetchFromGitHub { 17 owner = "gravitational"; 18 repo = "teleport"; 19 rev = "v${version}"; 20 - sha256 = "sha256-pWe4n/HilieUYfoO0OElC9ccMaTOaMcVadUfWUJJGhk="; 21 }; 22 23 vendorSha256 = null;
··· 10 in 11 buildGoModule rec { 12 pname = "teleport"; 13 + version = "7.1.0"; 14 15 # This repo has a private submodule "e" which fetchgit cannot handle without failing. 16 src = fetchFromGitHub { 17 owner = "gravitational"; 18 repo = "teleport"; 19 rev = "v${version}"; 20 + sha256 = "sha256-4kXI/eOrgJQYt4D/S709bUt+x5cGiFGAOP0VEoSgIsM="; 21 }; 22 23 vendorSha256 = null;
+3 -3
pkgs/tools/games/ajour/default.nix
··· 34 35 in rustPlatform.buildRustPackage rec { 36 pname = "Ajour"; 37 - version = "1.3.0"; 38 39 src = fetchFromGitHub { 40 owner = "casperstorm"; 41 repo = "ajour"; 42 rev = version; 43 - sha256 = "sha256-nz54KPvPmrFGXB52Jn6LKl1aSYgLngARcfC7YIAaC70="; 44 }; 45 46 - cargoSha256 = "sha256-nsuo8PdQpdVJcDY8VDCLISnOz5+Z+MqG/OJC3FYCfEo="; 47 48 nativeBuildInputs = [ 49 autoPatchelfHook
··· 34 35 in rustPlatform.buildRustPackage rec { 36 pname = "Ajour"; 37 + version = "1.3.1"; 38 39 src = fetchFromGitHub { 40 owner = "casperstorm"; 41 repo = "ajour"; 42 rev = version; 43 + sha256 = "sha256-tUm5d2JTvYyNFnKgId8mivWTB+v4TURZX293fMd11pk="; 44 }; 45 46 + cargoSha256 = "sha256-SPmfXJLIA4OGEm/S2mi5xmIE9ng7hY3aHm/PCT7pg0E="; 47 48 nativeBuildInputs = [ 49 autoPatchelfHook
+3 -3
pkgs/tools/inputmethods/kime/default.nix
··· 16 in 17 stdenv.mkDerivation rec { 18 pname = "kime"; 19 - version = "2.5.3"; 20 21 src = fetchFromGitHub { 22 owner = "Riey"; 23 repo = pname; 24 rev = "v${version}"; 25 - sha256 = "1kjw22hy2x90dc7xfm252v1pdr9x13mpm92rcgfy8zbkiqq242bl"; 26 }; 27 28 cargoDeps = rustPlatform.fetchCargoTarball { 29 inherit src; 30 - sha256 = "05kb9vnifaw01qw5cmdh4wzcf50szb0y00085wx41m8h4f28hfbk"; 31 }; 32 33 # Replace autostart path
··· 16 in 17 stdenv.mkDerivation rec { 18 pname = "kime"; 19 + version = "2.5.5"; 20 21 src = fetchFromGitHub { 22 owner = "Riey"; 23 repo = pname; 24 rev = "v${version}"; 25 + sha256 = "sha256-u2CmehJipXSH1dey5oIyQf8CsRveeae5cSjpY8vWYRs="; 26 }; 27 28 cargoDeps = rustPlatform.fetchCargoTarball { 29 inherit src; 30 + sha256 = "sha256-ROzEEfIPeWoWDi5McNwub5E/UCAeJpOx5nZS9r/q4K4="; 31 }; 32 33 # Replace autostart path
+22
pkgs/tools/misc/nomino/default.nix
···
··· 1 + { fetchFromGitHub, lib, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "nomino"; 5 + version = "1.1.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "yaa110"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "1nnyz4gkwrc2zccw0ir5kvmiyyv3r0vxys9r7j4cf0ymngal5kwp"; 12 + }; 13 + 14 + cargoSha256 = "0501w3124vkipb1rnksjaizkghw3jf3nmmmmf3zprmcaim1b4szg"; 15 + 16 + meta = with lib; { 17 + description = "Batch rename utility for developers"; 18 + homepage = "https://github.com/yaa110/nomino"; 19 + license = with licenses; [ mit /* or */ asl20 ]; 20 + maintainers = with maintainers; [ figsoda ]; 21 + }; 22 + }
+2 -2
pkgs/tools/misc/slop/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "slop"; 8 - version = "7.5"; 9 10 src = fetchFromGitHub { 11 owner = "naelstrof"; 12 repo = "slop"; 13 rev = "v${version}"; 14 - sha256 = "1k8xxb4rj2fylr4vj16yvsf73cyywliz9cy78pl4ibmi03jhg837"; 15 }; 16 17 nativeBuildInputs = [ cmake pkg-config ];
··· 5 6 stdenv.mkDerivation rec { 7 pname = "slop"; 8 + version = "7.6"; 9 10 src = fetchFromGitHub { 11 owner = "naelstrof"; 12 repo = "slop"; 13 rev = "v${version}"; 14 + sha256 = "sha256-LdBQxw8K8WWSfm4E2QpK4GYTuYvI+FX5gLOouVFSU/U="; 15 }; 16 17 nativeBuildInputs = [ cmake pkg-config ];
+9 -28
pkgs/tools/security/swtpm/default.nix
··· 1 { lib 2 , stdenv 3 - , fetchFromGitHub 4 , autoreconfHook 5 , pkg-config 6 - , libtasn1, openssl, fuse, glib, libseccomp 7 , libtpms 8 , unixtools, expect, socat 9 , gnutls 10 , perl 11 - , python3, python3Packages 12 }: 13 14 stdenv.mkDerivation rec { 15 pname = "swtpm"; 16 - version = "0.5.2"; 17 18 src = fetchFromGitHub { 19 owner = "stefanberger"; 20 repo = "swtpm"; 21 rev = "v${version}"; 22 - sha256 = "sha256-KY5V4z/8I15ePjorgZueNahlD/xvFa3tDarA0tuRxFk="; 23 }; 24 25 - pythonPath = with python3Packages; requiredPythonModules [ 26 - setuptools 27 - cryptography 28 - ]; 29 - 30 patches = [ 31 - # upstream looks for /usr directory in $prefix to check 32 - # whether or not to proceed with installation of python 33 - # tools (swtpm_setup utility). 34 - ./python-installation.patch 35 ]; 36 37 - prePatch = '' 38 - patchShebangs src/swtpm_setup/setup.py 39 - patchShebangs samples/setup.py 40 - ''; 41 - 42 nativeBuildInputs = [ 43 pkg-config unixtools.netstat expect socat 44 perl # for pod2man 45 autoreconfHook 46 - python3 47 ]; 48 buildInputs = [ 49 libtpms 50 openssl libtasn1 libseccomp 51 - fuse glib 52 gnutls 53 - python3.pkgs.wrapPython 54 ]; 55 - propagatedBuildInputs = pythonPath; 56 57 configureFlags = [ 58 "--with-cuse" 59 ]; 60 - 61 - postInstall = '' 62 - wrapPythonProgramsIn $out/bin "$out $pythonPath" 63 - wrapPythonProgramsIn $out/share/swtpm "$out $pythonPath" 64 - ''; 65 66 enableParallelBuilding = true; 67
··· 1 { lib 2 , stdenv 3 + , fetchFromGitHub, fetchpatch 4 , autoreconfHook 5 , pkg-config 6 + , libtasn1, openssl, fuse, glib, libseccomp, json-glib 7 , libtpms 8 , unixtools, expect, socat 9 , gnutls 10 , perl 11 }: 12 13 stdenv.mkDerivation rec { 14 pname = "swtpm"; 15 + version = "0.6.0"; 16 17 src = fetchFromGitHub { 18 owner = "stefanberger"; 19 repo = "swtpm"; 20 rev = "v${version}"; 21 + sha256 = "sha256-7YzdwGAGECj7PhaCOf/dLSILPXqtbylCkN79vuFBw5Y="; 22 }; 23 24 patches = [ 25 + (fetchpatch { 26 + url = "https://patch-diff.githubusercontent.com/raw/stefanberger/swtpm/pull/527.patch"; 27 + sha256 = "sha256-cpKHP15a27ifmmswSgHoNzGPO6TY/ZuJIfM5xLOlqlU="; 28 + }) 29 ]; 30 31 nativeBuildInputs = [ 32 pkg-config unixtools.netstat expect socat 33 perl # for pod2man 34 autoreconfHook 35 ]; 36 buildInputs = [ 37 libtpms 38 openssl libtasn1 libseccomp 39 + fuse glib json-glib 40 gnutls 41 ]; 42 43 configureFlags = [ 44 "--with-cuse" 45 ]; 46 47 enableParallelBuilding = true; 48
-60
pkgs/tools/security/swtpm/python-installation.patch
··· 1 - commit 353794feb596d95e3f8893e39b174c5a89d1013e 2 - Author: Arthur Gautier <baloo@superbaloo.net> 3 - Date: Wed Feb 17 02:27:40 2021 +0000 4 - 5 - python-install 6 - 7 - Signed-off-by: Arthur Gautier <baloo@superbaloo.net> 8 - 9 - diff --git a/samples/Makefile.am b/samples/Makefile.am 10 - index 7d69bf8..1803bb9 100644 11 - --- a/samples/Makefile.am 12 - +++ b/samples/Makefile.am 13 - @@ -39,19 +39,9 @@ python-uninstall: 14 - $(PIP3) uninstall -y $(PY_PACKAGE_NAME) 15 - 16 - if PYTHON_INSTALLATION 17 - -install-exec-local: $(PY_PACKAGE) 18 - - @if ! test $(findstring /usr, "$(DESTDIR)$(bindir)"); then \ 19 - - echo "Warning: Not installing python package to $(DESTDIR)$(bindir)"; \ 20 - - else \ 21 - - $(MAKE) python-install; \ 22 - - fi 23 - +install-exec-local: python-install 24 - 25 - -uninstall-local: 26 - - @if ! test $(findstring /usr, "$(DESTDIR)$(bindir)"); then \ 27 - - echo "Cleanup for distcheck build not implemented" ; \ 28 - - else \ 29 - - $(MAKE) python-uninstall; \ 30 - - fi 31 - +uninstall-local: python-uninstall 32 - endif 33 - 34 - 35 - diff --git a/src/swtpm_setup/Makefile.am b/src/swtpm_setup/Makefile.am 36 - index 529eefe..533b1b3 100644 37 - --- a/src/swtpm_setup/Makefile.am 38 - +++ b/src/swtpm_setup/Makefile.am 39 - @@ -29,19 +29,9 @@ python-uninstall: 40 - $(PIP3) uninstall -y $(PY_PACKAGE_NAME) 41 - 42 - if PYTHON_INSTALLATION 43 - -install-exec-local: $(PY_PACKAGE) 44 - - @if ! test $(findstring /usr, "$(DESTDIR)$(bindir)"); then \ 45 - - echo "Warning: Not installing python package to $(DESTDIR)$(bindir)"; \ 46 - - else \ 47 - - $(MAKE) python-install; \ 48 - - fi 49 - +install-exec-local: python-install 50 - 51 - -uninstall-local: 52 - - @if ! test $(findstring /usr, "$(DESTDIR)$(bindir)"); then \ 53 - - echo "Cleanup for distcheck build not implemented" ; \ 54 - - else \ 55 - - $(MAKE) python-uninstall; \ 56 - - fi 57 - +uninstall-local: python-uninstall 58 - endif 59 - 60 - # for out-of-tree builds we need to clean up
···
+2 -2
pkgs/tools/text/vale/default.nix
··· 2 3 buildGoModule rec { 4 pname = "vale"; 5 - version = "2.10.5"; 6 7 subPackages = [ "cmd/vale" ]; 8 outputs = [ "out" "data" ]; ··· 11 owner = "errata-ai"; 12 repo = "vale"; 13 rev = "v${version}"; 14 - sha256 = "sha256-SxNM63MCtsBmjzFbO/leCQwWWew5nN8wTUdmzHkx7dQ="; 15 }; 16 17 vendorSha256 = "sha256-3rCrRA9OKG2/wUlVvkG9lynJZOYFVqMkUZpGpW89KZc=";
··· 2 3 buildGoModule rec { 4 pname = "vale"; 5 + version = "2.10.6"; 6 7 subPackages = [ "cmd/vale" ]; 8 outputs = [ "out" "data" ]; ··· 11 owner = "errata-ai"; 12 repo = "vale"; 13 rev = "v${version}"; 14 + sha256 = "sha256-exBrs/MQhfqCxAJrnxECdKnxvsK9LvXIqpnYkR5h7uA="; 15 }; 16 17 vendorSha256 = "sha256-3rCrRA9OKG2/wUlVvkG9lynJZOYFVqMkUZpGpW89KZc=";
+2
pkgs/top-level/all-packages.nix
··· 7566 7567 nomad-driver-podman = callPackage ../applications/networking/cluster/nomad-driver-podman { }; 7568 7569 notable = callPackage ../applications/misc/notable { }; 7570 7571 ntlmrecon = callPackage ../tools/security/ntlmrecon { };
··· 7566 7567 nomad-driver-podman = callPackage ../applications/networking/cluster/nomad-driver-podman { }; 7568 7569 + nomino = callPackage ../tools/misc/nomino { }; 7570 + 7571 notable = callPackage ../applications/misc/notable { }; 7572 7573 ntlmrecon = callPackage ../tools/security/ntlmrecon { };