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

adafruit-ampy: Init at 1.0.5 #46836

Closed
wants to merge 2 commits into from
Closed

adafruit-ampy: Init at 1.0.5 #46836

wants to merge 2 commits into from

Conversation

ivanovsaleksejs
Copy link

@ivanovsaleksejs ivanovsaleksejs commented Sep 18, 2018

Motivation for this change

Adafruit MicroPython Tool (ampy) - Utility to interact with a MicroPython board over a serial connection.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, pythonPackages }:
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 pythonPackages. Instead pass in the individual dependencies.

pname = "python-dotenv";
version = "0.9.1";

src = fetchFromGitHub {
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to fetch from Pypi?

meta = with stdenv.lib; {
homepage = https://github.com/theskumar/python-dotenv;
description = "Reads the key,value pair from .env file and adds them to environment variable";
platforms = platforms.all;
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 set platforms, it's set already.

description = "Reads the key,value pair from .env file and adds them to environment variable";
platforms = platforms.all;
license = licenses.bsd3;
maintainers = [];
Copy link
Member

Choose a reason for hiding this comment

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

are you going to maintain this package?

description = "Utility to interact with a MicroPython board over a serial connection";
homepage = https://github.com/adafruit/ampy;
license = stdenv.lib.licenses.mit;
maintainers = [];
Copy link
Member

Choose a reason for hiding this comment

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

are you going to maintain this package?

homepage = https://github.com/adafruit/ampy;
license = stdenv.lib.licenses.mit;
maintainers = [];
platforms = stdenv.lib.platforms.unix;
Copy link
Member

Choose a reason for hiding this comment

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

is darwin not supported?

@nixos-discourse
Copy link

This pull request has been mentioned on Nix community. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/52

@timokau
Copy link
Member

timokau commented Aug 8, 2019

#61495

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