-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podcast: init at 0.17.5 #103203
podcast: init at 0.17.5 #103203
Conversation
Result of 1 package built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Patch to get it building on darwin:
diff --git a/pkgs/tools/networking/podcast/default.nix b/pkgs/tools/networking/podcast/default.nix
index 8e4905e909e0..5c3357847cd6 100644
--- a/pkgs/tools/networking/podcast/default.nix
+++ b/pkgs/tools/networking/podcast/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchFromGitHub, rustPlatform, pkgconfig, openssl }:
+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin }:
rustPlatform.buildRustPackage rec {
pname = "podcast";
@@ -16,9 +16,10 @@ rustPlatform.buildRustPackage rec {
cargoPatches = [ ./cargo-lock.patch ];
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ openssl ];
+ buildInputs = [ openssl ]
+ ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security ]);
- meta = with lib; {
+ meta = with stdenv.lib; {
description = "Command line podcast manager and player";
homepage = "https://github.com/njaremko/podcast";
license = licenses.gpl3Only;
8ad7b5d
to
f9088f8
Compare
url = | ||
"https://github.com/njaremko/podcast/commit/ecf96f79c765e36ca86f24dbdcc4a217914479eb.diff"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url = | |
"https://github.com/njaremko/podcast/commit/ecf96f79c765e36ca86f24dbdcc4a217914479eb.diff"; | |
url = "https://github.com/njaremko/podcast/commit/ecf96f79c765e36ca86f24dbdcc4a217914479eb.diff"; |
{ stdenv, fetchpatch, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin | ||
}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ stdenv, fetchpatch, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin | |
}: | |
{ stdenv, fetchpatch, fetchFromGitHub, rustPlatform, pkg-config, openssl, Security }: |
Please do not input darwin.
}) | ||
]; | ||
|
||
nativeBuildInputs = [ pkgconfig ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs = [ pkgconfig ]; | |
nativeBuildInputs = [ pkg-config ]; |
@@ -6495,6 +6495,8 @@ in | |||
|
|||
podiff = callPackage ../tools/text/podiff { }; | |||
|
|||
podcast = callPackage ../tools/networking/podcast { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
podcast = callPackage ../tools/networking/podcast { }; | |
podcast = callPackage ../tools/networking/podcast { | |
inherit (darwin.apple_sdk.frameworks) Security; | |
}; |
|
||
nativeBuildInputs = [ pkgconfig ]; | ||
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin | ||
(with darwin.apple_sdk.frameworks; [ Security ]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(with darwin.apple_sdk.frameworks; [ Security ]); | |
[ Security ]; |
I marked this as stale due to inactivity. → More info |
Stalled. Most likely out-dated at this point. Please re-open if you interested in this package. |
Motivation for this change
Full featured podcast manager, similar to greg. Written in Rust!
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)