todo: 2.4 -> 2.5

This commit is contained in:
sioodmy 2022-10-13 15:13:14 +02:00
parent ba3860a10f
commit d531caf2b3

View file

@ -1,30 +1,21 @@
{ lib { lib, rustPlatform, fetchFromGitHub, pkg-config, stdenv, openssl }:
, rustPlatform
, fetchFromGitHub
, pkg-config
, stdenv
, openssl
}:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "todo"; pname = "todo";
version = "2.4"; version = "2.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sioodmy"; owner = "sioodmy";
repo = "todo"; repo = "todo";
rev = version; rev = version;
sha256 = "Z3kaCNZyknNHkZUsHARYh3iWWR+v//JhuYoMIrq54Wo="; sha256 = "oyRdXvVnCfdFM8lI1eCDHHYNWcJc0Qg0TKxQXUqNo40=";
}; };
cargoSha256 = "82xB+9kiLBwCE6yC3tlmgzJJgA1cMDq6Mjc48GBZ9B8="; cargoSha256 = "B0tecuBx/FFQokhfI6+xpppyG5DD8WS2+MkmPaZfMhI=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]; buildInputs = [ openssl ];
preFixup = ''
mv $out/bin/todo-bin $out/bin/todo
'';
meta = with lib; { meta = with lib; {
description = "Simple todo cli program written in rust"; description = "Simple todo cli program written in rust";
homepage = "https://github.com/sioodmy/todo"; homepage = "https://github.com/sioodmy/todo";