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
adafruit-ampy: Init at 1.0.5 #46836
Conversation
@@ -0,0 +1,29 @@ | |||
{ stdenv, fetchFromGitHub, buildPythonPackage, pythonPackages }: |
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.
Don't pass in pythonPackages
. Instead pass in the individual dependencies.
pname = "python-dotenv"; | ||
version = "0.9.1"; | ||
|
||
src = fetchFromGitHub { |
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.
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; |
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.
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 = []; |
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.
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 = []; |
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.
are you going to maintain this package?
homepage = https://github.com/adafruit/ampy; | ||
license = stdenv.lib.licenses.mit; | ||
maintainers = []; | ||
platforms = stdenv.lib.platforms.unix; |
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.
is darwin not supported?
This pull request has been mentioned on Nix community. There might be relevant details there: |
Motivation for this change
Adafruit MicroPython Tool (ampy) - Utility to interact with a MicroPython board over a serial connection.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)