lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 35 lines 960 B view raw
1{ lib 2, fetchFromGitHub 3, rustPlatform 4, enableAppletSymlinks ? true 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "rsbkb"; 9 version = "1.2.1"; 10 11 src = fetchFromGitHub { 12 owner = "trou"; 13 repo = "rsbkb"; 14 rev = "release-${version}"; 15 hash = "sha256-+plf7BoYpEFPRsGKNrvLF8TAU3Z7nyx6Td6uRBoNGiE="; 16 }; 17 18 cargoHash = "sha256-HyosR/5tZCRU2CNnnGITEuESW30Zq3s33UFNcLmEWIA="; 19 20 # Setup symlinks for all the utilities, 21 # busybox style 22 postInstall = lib.optionalString enableAppletSymlinks '' 23 cd $out/bin || exit 1 24 path="$(realpath --canonicalize-missing ./rsbkb)" 25 for i in $(./rsbkb list) ; do ln -s $path $i ; done 26 ''; 27 28 meta = with lib; { 29 description = "Command line tools to encode/decode things"; 30 homepage = "https://github.com/trou/rsbkb"; 31 changelog = "https://github.com/trou/rsbkb/releases/tag/release-${version}"; 32 license = licenses.gpl3Plus; 33 maintainers = with maintainers; [ ProducerMatt ]; 34 }; 35}