lsd: 0.23.1 -> 1.0.0, modernise packages, thin out maintainers

This commit is contained in:
Sandro Jäckel 2023-08-27 20:53:45 +02:00
parent fcfa6f73f8
commit 0fbb1591d8
No known key found for this signature in database
GPG key ID: 236B6291555E8401

View file

@ -9,23 +9,26 @@
rustPlatform.buildRustPackage rec {
pname = "lsd";
version = "0.23.1";
version = "1.0.0";
src = fetchFromGitHub {
owner = "Peltoche";
repo = pname;
rev = version;
sha256 = "sha256-FY1odcKBl7zJ+MxfohkmC1e45fPQK3MKB3orQdCRpA4=";
owner = "lsd-rs";
repo = "lsd";
rev = "v${version}";
hash = "sha256-syT+1LNdigUWkfJ/wkbY/kny2uW6qfpl7KmW1FjZKR8=";
};
cargoSha256 = "sha256-t7J7hIbLlRq99Yd2/3Zn+PbHhJtaJRdDluDXN0Hp/Jc=";
cargoHash = "sha256-viLr76Bq9OkPMp+BoprQusMDgx59nbevVi4uxjZ+eZg=";
nativeBuildInputs = [ installShellFiles pandoc ];
postInstall = ''
pandoc --standalone --to man doc/lsd.md -o lsd.1
installManPage lsd.1
installShellCompletion $releaseDir/build/lsd-*/out/{_lsd,lsd.{bash,fish}}
installShellCompletion --cmd lsd \
--bash $releaseDir/build/lsd-*/out/lsd.bash \
--fish $releaseDir/build/lsd-*/out/lsd.fish \
--zsh $releaseDir/build/lsd-*/out/_lsd
'';
# Found argument '--test-threads' which wasn't expected, or isn't valid in this context
@ -36,9 +39,9 @@ rustPlatform.buildRustPackage rec {
};
meta = with lib; {
homepage = "https://github.com/Peltoche/lsd";
homepage = "https://github.com/lsd-rs/lsd";
description = "The next gen ls command";
license = licenses.asl20;
maintainers = with maintainers; [ Br1ght0ne marsam zowoq SuperSandro2000 ];
maintainers = with maintainers; [ marsam zowoq SuperSandro2000 ];
};
}