pkgs: drop oranda and cargo-dist-unstable
Both available upstream
This commit is contained in:
parent
83dc59d84c
commit
58724ded4d
|
@ -19,7 +19,6 @@ NixOS packages for personal use.
|
|||
- [katbin] : A CLI for [katb.in]
|
||||
- [linkleaner] : Telegram bot to fix social media link previews
|
||||
- [monocraft-nerdfonts] : A monospaced programming font inspired by the Minecraft typeface
|
||||
- [oranda] : Generate beautiful landing pages for your developer tools
|
||||
- [patreon-dl] : Download content from creators you're subscribed to on Patreon
|
||||
- [pidcat] : Fork of [JakeWharton's pidcat] with Python3 support and some other fixes
|
||||
- [samply] : A command line profiler for macOS and Linux
|
||||
|
@ -45,7 +44,6 @@ NixOS packages for personal use.
|
|||
[katb.in]: https://katb.in
|
||||
[linkleaner]: https://msfjarvis.dev/g/linkleaner
|
||||
[monocraft-nerdfonts]: https://github.com/IdreesInc/Monocraft
|
||||
[oranda]: https://github.com/axodotdev/oranda
|
||||
[patreon-dl]: https://github.com/PrivateGER/patreon-dl
|
||||
[pidcat]: https://msfjarvis.dev/g/pidcat
|
||||
[JakeWharton's pidcat]: https://github.com/JakeWharton/pidcat
|
||||
|
|
|
@ -1,66 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
bzip2,
|
||||
xz,
|
||||
zstd,
|
||||
stdenv,
|
||||
darwin,
|
||||
git,
|
||||
rustup,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-dist-unstable";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "axodotdev";
|
||||
repo = "cargo-dist";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-lh3nK3yj03pEurjw6/fMh70GnBawxUqilupUzfgryG0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-REp2pVg7j5fJ6DBnEvMbSmOPrEOKks7GzPvoRzzq8a0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
bzip2
|
||||
xz
|
||||
zstd
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
rustup
|
||||
];
|
||||
|
||||
env = {
|
||||
ZSTD_SYS_USE_PKG_CONFIG = true;
|
||||
};
|
||||
|
||||
# remove tests that require internet access
|
||||
postPatch = ''
|
||||
rm cargo-dist/tests/integration-tests.rs
|
||||
'';
|
||||
|
||||
useNextest = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool for building final distributable artifacts and uploading them to an archive";
|
||||
homepage = "https://github.com/axodotdev/cargo-dist";
|
||||
changelog = "https://github.com/axodotdev/cargo-dist/blob/${src.rev}/CHANGELOG.md";
|
||||
license = with licenses; [asl20 mit];
|
||||
maintainers = with maintainers; [msfjarvis];
|
||||
mainProgram = "cargo-dist";
|
||||
};
|
||||
}
|
|
@ -10,7 +10,6 @@ in {
|
|||
adbtuifm = callPackage ./adbtuifm {};
|
||||
adx = callPackage ./adx {};
|
||||
bundletool-bin = callPackage ./bundletool-bin {};
|
||||
cargo-dist-unstable = callPackage ./cargo-dist-unstable {};
|
||||
clipboard-substitutor = callPackage ./clipboard-substitutor {};
|
||||
diffuse-bin = callPackage ./diffuse-bin {};
|
||||
gdrive = callPackage ./gdrive {};
|
||||
|
@ -27,7 +26,6 @@ in {
|
|||
inherit rust-manifest;
|
||||
};
|
||||
monocraft-nerdfonts = callPackage ./monocraft-nerdfonts {};
|
||||
oranda = callPackage ./oranda {};
|
||||
patreon-dl = callPackage ./patreon-dl {};
|
||||
pidcat = callPackage ./pidcat {};
|
||||
rucksack = callPackage ./rucksack {};
|
||||
|
|
|
@ -1,46 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
openssl,
|
||||
stdenv,
|
||||
darwin,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "oranda";
|
||||
version = "0.3.0-prerelease.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "axodotdev";
|
||||
repo = "oranda";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4kDnqTJQAS7O5wxVsBsDWsEXM4kVOrTjUL9Y7xe0jQQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-SlKnr5f0Io94iHMb3lyOiKOQ1HKfOBkireZWk6h6Sdg=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
openssl
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "generate beautiful landing pages for your developer tools";
|
||||
homepage = "https://github.com/axodotdev/oranda";
|
||||
changelog = "https://github.com/axodotdev/oranda/blob/${src.rev}/CHANGELOG.md";
|
||||
license = with licenses; [asl20 mit];
|
||||
maintainers = with maintainers; [msfjarvis];
|
||||
mainProgram = "oranda";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue