natsukium 2024-03-26 14:56:21 +09:00
parent c389051401
commit 3508f57de7
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -1,20 +1,26 @@
{ lib { lib
, stdenv
, darwin
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "csvlens"; pname = "csvlens";
version = "0.7.0"; version = "0.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "YS-L"; owner = "YS-L";
repo = "csvlens"; repo = "csvlens";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-b8SuXx1uN9lBrCoEDLeudZwylHu+f2i/PQkfHA56YlE="; hash = "sha256-4lKiqojBF8mqAp56eTDfJcK276IzEDLA3pORKIZpC94=";
}; };
cargoHash = "sha256-SPUEK+8rLXBR8cdxN3qUajvN6PxbAZX2i7vYcyMzqyw="; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.AppKit
];
cargoHash = "sha256-EzM7qGor/B17N4KDTsQzgiV4pgXE2D47RZcrmKVkPu8=";
meta = with lib; { meta = with lib; {
description = "Command line csv viewer"; description = "Command line csv viewer";