Skip to content
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

Closed
wants to merge 1 commit into from
Closed

podcast: init at 0.17.5 #103203

wants to merge 1 commit into from

Conversation

djanatyn
Copy link
Contributor

@djanatyn djanatyn commented Nov 9, 2020

Motivation for this change

Full featured podcast manager, similar to greg. Written in Rust!

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 103203 run on x86_64-linux 1

1 package built:
  • podcast

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a 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;

Comment on lines +19 to +20
url =
"https://github.com/njaremko/podcast/commit/ecf96f79c765e36ca86f24dbdcc4a217914479eb.diff";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
url =
"https://github.com/njaremko/podcast/commit/ecf96f79c765e36ca86f24dbdcc4a217914479eb.diff";
url = "https://github.com/njaremko/podcast/commit/ecf96f79c765e36ca86f24dbdcc4a217914479eb.diff";

Comment on lines +1 to +2
{ stdenv, fetchpatch, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin
}:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ stdenv, fetchpatch, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin
}:
{ stdenv, fetchpatch, fetchFromGitHub, rustPlatform, pkg-config, openssl, Security }:

Please do not input darwin.

})
];

nativeBuildInputs = [ pkgconfig ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkg-config ];

@@ -6495,6 +6495,8 @@ in

podiff = callPackage ../tools/text/podiff { };

podcast = callPackage ../tools/networking/podcast { };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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 ]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(with darwin.apple_sdk.frameworks; [ Security ]);
[ Security ];

@stale
Copy link

stale bot commented Jun 26, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 26, 2021
@Mic92
Copy link
Member

Mic92 commented Jun 26, 2021

Stalled. Most likely out-dated at this point. Please re-open if you interested in this package.

@Mic92 Mic92 closed this Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants