josh: init at 22.06.22

+62
+60
pkgs/applications/version-management/josh/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , rustPlatform 5 + , libgit2 6 + , openssl 7 + , pkg-config 8 + , makeWrapper 9 + , git 10 + , darwin 11 + }: 12 + 13 + rustPlatform.buildRustPackage rec { 14 + pname = "josh"; 15 + version = "22.06.22"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "esrlabs"; 19 + repo = "josh"; 20 + rev = "r" + version; 21 + sha256 = "0511qv9zyjvv4zfz6zyi69ssbkrwa24n0ah5w9mb4gzd547as8pq"; 22 + }; 23 + 24 + cargoSha256 = "0zfjjyyz4pxar1mfkkj9aij4dnwqy3asdrmay1iy6ijjn1qd97n4"; 25 + 26 + nativeBuildInputs = [ 27 + pkg-config 28 + makeWrapper 29 + ]; 30 + 31 + buildInputs = [ 32 + libgit2 33 + openssl 34 + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ 35 + darwin.Security 36 + ]; 37 + 38 + cargoBuildFlags = [ 39 + "-p" "josh" 40 + "-p" "josh-proxy" 41 + # TODO: josh-ui 42 + ]; 43 + 44 + postInstall = '' 45 + wrapProgram "$out/bin/josh-proxy" --prefix PATH : "${git}/bin" 46 + ''; 47 + 48 + meta = { 49 + description = "Just One Single History"; 50 + homepage = "https://josh-project.github.io/josh/"; 51 + downloadPage = "https://github.com/josh-project/josh"; 52 + changelog = "https://github.com/josh-project/josh/releases/tag/${version}"; 53 + license = lib.licenses.mit; 54 + maintainers = [ 55 + lib.maintainers.sternenseemann 56 + lib.maintainers.tazjin 57 + ]; 58 + platforms = lib.platforms.all; 59 + }; 60 + }
+2
pkgs/top-level/all-packages.nix
··· 27309 27309 27310 27310 jmusicbot = callPackage ../applications/audio/jmusicbot { }; 27311 27311 27312 + josh = callPackage ../applications/version-management/josh { }; 27313 + 27312 27314 junction = callPackage ../applications/misc/junction { }; 27313 27315 27314 27316 lemonade = callPackage ../applications/misc/lemonade { };