pick package from github, pypi is missing LICENSE
{% set name = "nidaqmx-python" %}
{% set version = "0.5.7" %}
-{% set sha256 = "678452d2928c758ccb347353745df728c0ee8915a6e4587393c583c5727b18d6" %}
-{% set pypi_name = name.split("-")[0] %}
+{% set sha256 = "f3d3df29ccfbb4f278648f101efde475f66a0c306fde918c06679dd323574f5b" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
- fn: {{ name }}-{{ version }}.zip
- url: https://pypi.io/packages/source/{{ pypi_name[0] }}/{{ pypi_name }}/{{ pypi_name }}-{{ version }}.zip
+ fn: {{ name }}-{{ version }}.tar.gz
+ url: https://github.com/ni/{{ name }}/archive/{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
