mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
leaf: init at 0.1.0
https://github.com/IogaMaster/leaf Update package.nix Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
This commit is contained in:
parent
1156cd9e9b
commit
25599afd79
33
pkgs/by-name/le/leaf/package.nix
Normal file
33
pkgs/by-name/le/leaf/package.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "leaf";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "IogaMaster";
|
||||
repo = "leaf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FbvXH0DXA+XvZuWZ7iJi4PqgoPv5qy5SWdXFlfBSmlM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-CsO3JzL5IqxGpj9EbbuDmmarzYpLFmmekX0W9mAQSzI=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple system fetch written in rust";
|
||||
homepage = "https://github.com/IogaMaster/leaf";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ iogamaster ];
|
||||
mainProgram = "leaf";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user