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

mdv: init at 1.6.3 #37495

Closed
wants to merge 3 commits into from
Closed

mdv: init at 1.6.3 #37495

wants to merge 3 commits into from

Conversation

Synthetica9
Copy link
Member

Motivation for this change

mvd wasn't in packages.

Things done
  • 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.

Copy link
Member

@dotlambda dotlambda left a comment

Choose a reason for hiding this comment

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

Please prefix your commit message with pythonPackages.

homepage = https://github.com/axiros/terminal_markdown_viewer;
description = "Terminal Markdown Viewer";
license = licenses.bsd;
maintainers = with maintainers; [ synthetica ];
Copy link
Member

Choose a reason for hiding this comment

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

@@ -20204,6 +20204,26 @@ EOF

pypandoc = callPackage ../development/python-modules/pypandoc { };

mdv = buildPythonPackage rec {
Copy link
Member

Choose a reason for hiding this comment

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

Please use callPackage.

@@ -20204,6 +20204,26 @@ EOF

pypandoc = callPackage ../development/python-modules/pypandoc { };

mdv = buildPythonPackage rec {
pname = "mdv";
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.

Leave this line out.

name = "${pname}-${version}";
version = "1.6.3";

src = pkgs.fetchurl {
Copy link
Member

Choose a reason for hiding this comment

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

fetchPypi

@Synthetica9
Copy link
Member Author

@dotlambda Bump

@dotlambda
Copy link
Member

@GrahamcOfBorg build python2.pkgs.mdv python3.pkgs.mdv

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python2.pkgs.mdv, python3.pkgs.mdv

Partial log (click to expand)

writing manifest file 'mdv.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
!! Could not derive your terminal width !!
/nix/store/y6ssnyd9xfs48maaqn9y3wz6z06x25jr-python2.7-mdv-1.6.3
/nix/store/p2lx7g32z8slwb86vakxy7920sp84qj8-python3.6-mdv-1.6.3

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python2.pkgs.mdv, python3.pkgs.mdv

Partial log (click to expand)

writing manifest file 'mdv.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
!! Could not derive your terminal width !!
/nix/store/5lc2xjcz7xm4cgqymcsqy8j63b2a7b4f-python2.7-mdv-1.6.3
/nix/store/bfgv77gfa559m3gczgg44l5bl0mgq1y7-python3.6-mdv-1.6.3

@dotlambda
Copy link
Member

Ran 0 tests in 0.000s

Please provide the correct checkPhase.

Also, note https://github.com/axiros/terminal_markdown_viewer#manual-install-requirements (disabled = isPy3k).

@aanderse
Copy link
Member

@Synthetica9 are you able to continue with this PR?

@FRidh
Copy link
Member

FRidh commented Jul 20, 2019

Nothing happening so closing.

@FRidh FRidh closed this Jul 20, 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

6 participants