nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitLab,
3 lib,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage {
8 pname = "ograc";
9 version = "0.1.6";
10 src = fetchFromGitLab {
11 owner = "lirnril";
12 repo = "ograc";
13 rev = "d09b3102ff7a364bf2593589327a16a473bd4f25";
14 hash = "sha256-vdHPFY6zZ/OBNlJO3N/6YXcvlddw2wYHgFWI0yfSgVo=";
15 };
16
17 cargoHash = "sha256-rWU8rOGLUrSkXLkHib8qkkiOZvuGbSJ4knFrHuD+R44=";
18
19 meta = {
20 description = "Like cargo, but backwards";
21 mainProgram = "ograc";
22 homepage = "https://crates.io/crates/ograc";
23 license = lib.licenses.agpl3Plus;
24 maintainers = with lib.maintainers; [ sciencentistguy ];
25 };
26}