nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "leaf";
9 version = "0.2.0";
10
11 src = fetchFromGitHub {
12 owner = "IogaMaster";
13 repo = "leaf";
14 rev = "v${version}";
15 hash = "sha256-y0NO9YcOO7T7Cqc+/WeactwBAkeUqdCca87afOlO1Bk=";
16 };
17
18 cargoHash = "sha256-RQ9fQfYfpsFAA5CzR3ICLIEYb00qzUsWAQKSrK/488g=";
19
20 meta = {
21 description = "Simple system fetch written in rust";
22 homepage = "https://github.com/IogaMaster/leaf";
23 license = lib.licenses.mit;
24 maintainers = [ ];
25 mainProgram = "leaf";
26 };
27}