Navigation Menu

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

sacad: init at 2.0.6 #34458

Closed
wants to merge 5 commits into from
Closed

sacad: init at 2.0.6 #34458

wants to merge 5 commits into from

Conversation

ayyess
Copy link
Contributor

@ayyess ayyess commented Jan 31, 2018

SACAD is a multi platform command line tool to download album covers without manual intervention, ideal for integration in scripts, audio players, etc.

Also includes: web_cache: init at 1.0.2

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@ayyess ayyess requested a review from FRidh as a code owner January 31, 2018 15:04
sha256 = "05mmxf5f312mi9g417zad20f8v76wjm36b0v75x96diffccaafp0";
};

doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

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

Why are the tests disabled? Please include a comment.

@@ -0,0 +1,37 @@
{ pkgs, jpegoptim, optipng }:
Copy link
Member

Choose a reason for hiding this comment

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

Don't pass in the whole package set. Instead, pass in the exact dependencies.

Copy link
Member

Choose a reason for hiding this comment

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

In case of Python and its packages, you can pass in python3.

@@ -0,0 +1,37 @@
{ pkgs, jpegoptim, optipng }:

let
Copy link
Member

Choose a reason for hiding this comment

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

with python3.pkgs;

sha256 = "1vb2y18lmsm742pwff9164plbji3vjmx06accc84vws1nv7d1rzg";
};

doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

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

Why are the tests disabled? Please include a comment.

@grahamc
Copy link
Member

grahamc commented Jan 31, 2018

I introduced a failure in the evaluator today, sorry about that. Testing for a fix:

@GrahamcOfBorg eval

buildPythonPackage rec {
pname = "web_cache";
version = "1.0.2";
name = "${pname}-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

The name attribute is added by buildPython* and should therefore be removed.

sha256 = "05mmxf5f312mi9g417zad20f8v76wjm36b0v75x96diffccaafp0";
};

# ModuleNotFoundError: No module named 'tests'
Copy link
Member

Choose a reason for hiding this comment

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

That's because it's not included in the tarball. Can you replace this with

# No tests in archive


with python3.pkgs;
let
inherit (python3.pkgs) buildPythonApplication fetchPypi;
Copy link
Member

Choose a reason for hiding this comment

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

because you have with python3.pkgs above here this line is not needed.

buildPythonApplication rec {
pname = "sacad";
version = "2.0.6";
name = "${pname}-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

The name attribute is added by buildPython* and should therefore be removed.

sha256 = "1vb2y18lmsm742pwff9164plbji3vjmx06accc84vws1nv7d1rzg";
};

propagatedBuildInputs = with python3.pkgs; [
Copy link
Member

Choose a reason for hiding this comment

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

with python3.pkgs; can be dropped

@aanderse
Copy link
Member

@ayyjayess any interest in continuing with this PR?

@jonringer
Copy link
Contributor

This has been sitting idle for 18 months, close? @FRidh @ayyess

@aanderse aanderse closed this Aug 9, 2019
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

8 participants