nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, rustPlatform, fetchFromGitHub }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "steam-acf";
5 version = "0.1.0";
6
7 src = fetchFromGitHub {
8 owner = "chisui";
9 repo = "acf";
10 rev = "v${version}";
11 sha256 = "16q3md7cvdz37pqm1sda81rkjf249xbsrlpdl639r06p7f4nqlc2";
12 };
13
14 cargoSha256 = "0fzlvn0sl7613hpsb7ncykmcl53dgl8rzsg317nwkj2w679q4xq6";
15
16 meta = with lib; {
17 description = "Tool to convert Steam .acf files to JSON";
18 homepage = "https://github.com/chisui/acf";
19 license = with licenses; [ mit /* or */ asl20 ];
20 maintainers = with maintainers; [ chisui ];
21 mainProgram = "acf";
22 };
23}