mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-24 23:10:09 +00:00
Merge master into staging-next
This commit is contained in:
46
pkgs/development/python-modules/envoy-reader/default.nix
Normal file
46
pkgs/development/python-modules/envoy-reader/default.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, httpx
|
||||
, pytest-asyncio
|
||||
, pytest-raises
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, respx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "envoy-reader";
|
||||
version = "0.19.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jesserizzo";
|
||||
repo = "envoy_reader";
|
||||
rev = version;
|
||||
sha256 = "0jyrgm7dc6k66c94gadc69a6xsv2b48wn3b3rbpwgbssi5s7iiz6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
httpx
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-raises
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
respx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "envoy_reader" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to read from Enphase Envoy units";
|
||||
homepage = "https://github.com/jesserizzo/envoy_reader";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
28
pkgs/development/python-modules/mercantile/default.nix
Normal file
28
pkgs/development/python-modules/mercantile/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, click
|
||||
, pytestCheckHook
|
||||
, hypothesis
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mercantile";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mapbox";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-DiDXO2XnD3We6NhP81z7aIHzHrHDi/nkqy98OT9986w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click ];
|
||||
|
||||
checkInputs = [ pytestCheckHook hypothesis ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Spherical mercator tile and coordinate utilities";
|
||||
homepage = "https://github.com/mapbox/mercantile";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
};
|
||||
}
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pykeepass";
|
||||
version = "4.0.0";
|
||||
version = "4.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libkeepass";
|
||||
repo = "pykeepass";
|
||||
rev = version;
|
||||
sha256 = "1zw5hjk90zfxpgq2fz4h5qzw3kmvdnlfbd32gw57l034hmz2i08v";
|
||||
sha256 = "sha256-D+loaPBpKdXyiqpdth3ANDjH6IewuKYhj/DzRE2hDn4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ufonormalizer";
|
||||
version = "0.5.3";
|
||||
version = "0.5.4";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ijc697nv9rff9j1nhbf5vnyaryxlndq13msi94px8aq9gzxfrbi";
|
||||
sha256 = "11l8475p3nq7azim35l5lck8vrgjgd01plnji6gg1hf9ckswr2pb";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user