nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 35 lines 776 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitea, 5 rustPlatform, 6 openssl, 7 pkg-config, 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "fjo"; 12 version = "0.3.5"; 13 14 src = fetchFromGitea { 15 domain = "codeberg.org"; 16 owner = "VoiDD"; 17 repo = "fjo"; 18 rev = "v${version}"; 19 hash = "sha256-KjH78yqfZoN24TBYyFZuxf7z9poRov0uFYQ8+eq9p/o="; 20 }; 21 22 cargoHash = "sha256-iF2hIeRnyYYyyg45c1E3NIR9m7oonY18JlGvFSXy/Lc="; 23 24 buildInputs = [ openssl ]; 25 nativeBuildInputs = [ pkg-config ]; 26 27 meta = { 28 description = "CLI Tool for Codeberg similar to gh and glab"; 29 homepage = "https://codeberg.org/VoiDD/fjo"; 30 license = lib.licenses.agpl3Only; 31 mainProgram = "berg"; 32 maintainers = with lib.maintainers; [ ehmry ]; 33 broken = stdenv.hostPlatform.isDarwin; 34 }; 35}