forked from mirrors/nixpkgs
todo: init at 2.4
This commit is contained in:
parent
4b57b62ca3
commit
89534942b4
35
pkgs/tools/misc/todo/default.nix
Normal file
35
pkgs/tools/misc/todo/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, openssl
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "todo";
|
||||
version = "2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sioodmy";
|
||||
repo = "todo";
|
||||
rev = version;
|
||||
sha256 = "Z3kaCNZyknNHkZUsHARYh3iWWR+v//JhuYoMIrq54Wo=";
|
||||
};
|
||||
|
||||
cargoSha256 = "82xB+9kiLBwCE6yC3tlmgzJJgA1cMDq6Mjc48GBZ9B8=";
|
||||
|
||||
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";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ sioodmy ];
|
||||
mainProgram = "todo";
|
||||
};
|
||||
}
|
|
@ -10527,6 +10527,8 @@ with pkgs;
|
|||
|
||||
top-git = callPackage ../applications/version-management/git-and-tools/topgit { };
|
||||
|
||||
todo = callPackage ../tools/misc/todo { };
|
||||
|
||||
tor = callPackage ../tools/security/tor { };
|
||||
|
||||
tor-browser-bundle-bin = callPackage ../applications/networking/browsers/tor-browser-bundle-bin { };
|
||||
|
|
Loading…
Reference in a new issue