Merge branch 'master' into staging-next
minor conflict: rust update vs. darwin fixes for it (not tested but seems quite OK)
This commit is contained in:
@@ -20,13 +20,16 @@ buildPythonPackage rec {
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "ecdsa==0.13" "ecdsa>=0.13"
|
||||
--replace "ecdsa==0.13" "ecdsa>=0.13" \
|
||||
--replace "base58==1.0.3" "base58>=1.0.3"
|
||||
'';
|
||||
|
||||
# Tests needs a BlockIO API key to run properly
|
||||
# https://github.com/BlockIo/block_io-python/blob/79006bc8974544b70a2d8e9f19c759941d32648e/test.py#L18
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "block_io" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Integrate Bitcoin, Dogecoin and Litecoin in your Python applications using block.io";
|
||||
homepage = "https://github.com/BlockIo/block_io-python";
|
||||
|
||||
38
pkgs/development/python-modules/yamale/default.nix
Normal file
38
pkgs/development/python-modules/yamale/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, pytest
|
||||
, pyyaml
|
||||
, ruamel_yaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yamale";
|
||||
version = "3.0.4";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "23andMe";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1xjvah4r3gpwk4zxql3c9jpllb34k175fm6iq1zvsd2vv2fwf8s2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
ruamel_yaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A schema and validator for YAML.";
|
||||
homepage = "https://github.com/23andMe/Yamale";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ rtburns-jpl ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user