diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-02-13 12:25:07 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-02-13 12:25:07 +0100 |
commit | a5e1520e4538e29ecfbd4b168306f890566d7bfd (patch) | |
tree | 28099c268b5d4b1e33c2b29f0714c45f0b961382 /nixpkgs/pkgs/by-name/cl | |
parent | 822f7c15c04567fbdc27020e862ea2b70cfbf8eb (diff) | |
parent | 3560d1c8269d0091b9aae10731b5e85274b7bbc1 (diff) | |
download | nixlib-a5e1520e4538e29ecfbd4b168306f890566d7bfd.tar nixlib-a5e1520e4538e29ecfbd4b168306f890566d7bfd.tar.gz nixlib-a5e1520e4538e29ecfbd4b168306f890566d7bfd.tar.bz2 nixlib-a5e1520e4538e29ecfbd4b168306f890566d7bfd.tar.lz nixlib-a5e1520e4538e29ecfbd4b168306f890566d7bfd.tar.xz nixlib-a5e1520e4538e29ecfbd4b168306f890566d7bfd.tar.zst nixlib-a5e1520e4538e29ecfbd4b168306f890566d7bfd.zip |
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Conflicts: nixpkgs/nixos/modules/services/mail/rss2email.nix nixpkgs/pkgs/build-support/go/module.nix
Diffstat (limited to 'nixpkgs/pkgs/by-name/cl')
-rw-r--r-- | nixpkgs/pkgs/by-name/cl/clamtk/package.nix | 15 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/cl/clipcat/package.nix | 49 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/cl/clzip/package.nix | 4 |
3 files changed, 59 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/by-name/cl/clamtk/package.nix b/nixpkgs/pkgs/by-name/cl/clamtk/package.nix index de00d3ad9c02..3c85528a6e63 100644 --- a/nixpkgs/pkgs/by-name/cl/clamtk/package.nix +++ b/nixpkgs/pkgs/by-name/cl/clamtk/package.nix @@ -9,13 +9,13 @@ perlPackages.buildPerlPackage rec { pname = "clamtk"; - version = "6.17"; + version = "6.18"; src = fetchFromGitHub { owner = "dave-theunsub"; repo = "clamtk"; rev = "v${version}"; - hash = "sha256-2tWVfRijf78OiKBpLUrZWFberIL8mjqtxvW/IjPn1IE="; + hash = "sha256-ClBsBXbGj67zgrkA9EjgK7s3OmXOJA+xV5xLGOcMsbI="; }; nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; @@ -46,11 +46,12 @@ perlPackages.buildPerlPackage rec { installPhase = '' runHook preInstall - install -D lib/*.pm -t $out/lib/perl5/site_perl/ClamTk - install -D clamtk.desktop -t $out/share/applications - install -D images/* -t $out/share/pixmaps - install -D clamtk.1.gz -t $out/share/man/man1 - install -D -m755 clamtk -t $out/bin + install -Dm755 clamtk -t $out/bin + install -Dm444 lib/*.pm -t $out/lib/perl5/site_perl/ClamTk + install -Dm444 clamtk.desktop -t $out/share/applications + install -Dm444 images/* -t $out/share/pixmaps + install -Dm444 clamtk.1.gz -t $out/share/man/man1 + install -Dm444 {CHANGES,LICENSE,*.md} -t $out/share/doc/clamtk runHook postInstall ''; diff --git a/nixpkgs/pkgs/by-name/cl/clipcat/package.nix b/nixpkgs/pkgs/by-name/cl/clipcat/package.nix new file mode 100644 index 000000000000..1345482f0a38 --- /dev/null +++ b/nixpkgs/pkgs/by-name/cl/clipcat/package.nix @@ -0,0 +1,49 @@ +{ lib +, fetchFromGitHub +, rustPlatform +, protobuf +, installShellFiles +}: + +rustPlatform.buildRustPackage rec { + pname = "clipcat"; + version = "0.16.4"; + + src = fetchFromGitHub { + owner = "xrelkd"; + repo = pname; + rev = "v${version}"; + hash = "sha256-gYg1czSwUm1zJUkw5SMk6C4yDfHcwjWnnHJftDLNvfs="; + }; + + cargoHash = "sha256-e32DGV7/ueT25Lx318aGZEHRnUGxCn0J5/K3dgT02Ug="; + + nativeBuildInputs = [ + protobuf + installShellFiles + ]; + + checkFlags = [ + # Some test cases interact with X11, skip them + "--skip=test_x11_clipboard" + "--skip=test_x11_primary" + ]; + + postInstall = '' + for cmd in clipcatd clipcatctl clipcat-menu clipcat-notify; do + installShellCompletion --cmd $cmd \ + --bash <($out/bin/$cmd completions bash) \ + --fish <($out/bin/$cmd completions fish) \ + --zsh <($out/bin/$cmd completions zsh) + done + ''; + + meta = with lib; { + description = "Clipboard Manager written in Rust Programming Language"; + homepage = "https://github.com/xrelkd/clipcat"; + license = licenses.gpl3Only; + platforms = platforms.linux; + maintainers = with maintainers; [ xrelkd ]; + mainProgram = "clipcatd"; + }; +} diff --git a/nixpkgs/pkgs/by-name/cl/clzip/package.nix b/nixpkgs/pkgs/by-name/cl/clzip/package.nix index feced814f4e5..19ec4347a1e7 100644 --- a/nixpkgs/pkgs/by-name/cl/clzip/package.nix +++ b/nixpkgs/pkgs/by-name/cl/clzip/package.nix @@ -5,11 +5,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "clzip"; - version = "1.13"; + version = "1.14"; src = fetchurl { url = "mirror://savannah/lzip/clzip/clzip-${finalAttrs.version}.tar.gz"; - hash = "sha256-esn79QNr9Q+wtqIOhNIpPLDSTUBE6vM8vpdgu55/6no="; + hash = "sha256-9j/hJFuDL+B/9nnpubhofpN5q2E6Jr+wrKN1TIsWLXM="; }; meta = with lib; { |