mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
667 B
Nix
26 lines
667 B
Nix
{ rustPlatform, fetchFromGitHub, lib }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rpg-cli";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "facundoolano";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-rhG/EK68PWvQYoZdjhk0w7oNmh/QiTaAt4/WgEkgxEA=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-YXQohmDmkClziaLkL2N4cGURZ0tewyt7BuNY4hS+a4w=";
|
|
|
|
# tests assume the authors macbook, and thus fail
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Your filesystem as a dungeon";
|
|
mainProgram = "rpg-cli";
|
|
homepage = "https://github.com/facundoolano/rpg-cli";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lom ];
|
|
};
|
|
}
|