mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 11:07:36 +00:00
zet: init at 1.0.0
This commit is contained in:
parent
2cef51e653
commit
6733c3a9dd
30
pkgs/tools/text/zet/default.nix
Normal file
30
pkgs/tools/text/zet/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "zet";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yarrow";
|
||||
repo = "zet";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-IjM+jSb+kdML0zZGuz9+9wrFzQCujn/bg9/vaTzMtUs=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-kHIOsSR7ZxBzp4dtm2hbi8ddtlQ86x5EASk5HFmnhFo=";
|
||||
|
||||
# tests fail with `--release`
|
||||
# https://github.com/yarrow/zet/pull/7
|
||||
checkType = "debug";
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI utility to find the union, intersection, set difference, etc of files considered as sets of lines";
|
||||
homepage = "https://github.com/yarrow/zet";
|
||||
changelog = "https://github.com/yarrow/zet/blob/${src.rev}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
@ -14038,6 +14038,8 @@ with pkgs;
|
||||
|
||||
zerofree = callPackage ../tools/filesystems/zerofree { };
|
||||
|
||||
zet = callPackage ../tools/text/zet { };
|
||||
|
||||
zfp = callPackage ../tools/compression/zfp { };
|
||||
|
||||
zfs-autobackup = callPackage ../tools/backup/zfs-autobackup { };
|
||||
|
Loading…
Reference in New Issue
Block a user