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