Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6612721f8660
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a1f6c972bb9e
Choose a head ref
  • 4 commits
  • 4 files changed
  • 2 contributors

Commits on Oct 8, 2019

  1. pythonPackages.aresponses: init at 1.1.1

    required by pyhaversion
    makefu committed Oct 8, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    makefu Felix Richter
    Copy the full SHA
    9b62190 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    makefu Felix Richter
    Copy the full SHA
    1dfe851 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    makefu Felix Richter
    Copy the full SHA
    07d8628 View commit details

Commits on Oct 15, 2019

  1. Merge pull request #70729 from makefu/pkgs/pyhaversion/init

    init pyhaversion (3.1.0) for home-assistant
    globin authored Oct 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a1f6c97 View commit details
38 changes: 38 additions & 0 deletions pkgs/development/python-modules/aresponses/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
# propagatedBuildInputs
, aiohttp
# buildInputs
, pytest
, pytest-asyncio
}:

buildPythonPackage rec {
pname = "aresponses";
version = "1.1.1";

src = fetchPypi {
inherit pname version;
sha256 = "d1d6ef52b9a97142d106688cf9b112602ef3dc66f6368de8f91f47241d8cfc9c";
};

propagatedBuildInputs = [
aiohttp
];

buildInputs = [
pytest
pytest-asyncio
];

# tests only distributed via git repository, not pypi
doCheck = false;

meta = with lib; {
description = "Asyncio testing server";
homepage = "https://github.com/circleup/aresponses";
license = licenses.mit;
maintainers = [ maintainers.makefu ];
};
}
43 changes: 43 additions & 0 deletions pkgs/development/python-modules/pyhaversion/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
# propagatedBuildInputs
, aiohttp
, async-timeout
# buildInputs
, pytestrunner
# checkInputs
, pytest
, pytest-asyncio
, aresponses
}:
buildPythonPackage rec {
pname = "pyhaversion";
version = "3.1.0";

src = fetchPypi {
inherit pname version;
sha256 = "1d4smpzlaw0sqfgkgvhxsn8h7bmwj8h9gj98sdzvkzhp5vhd96b2";
};

propagatedBuildInputs = [
aiohttp
async-timeout
];

buildInputs = [
pytestrunner
];

checkInputs = [
pytest
pytest-asyncio
aresponses
];

meta = with lib; {
description = "A python module to the newest version number of Home Assistant";
homepage = https://github.com/ludeeus/pyhaversion;
maintainers = [ maintainers.makefu ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
@@ -807,7 +807,7 @@
"venstar" = ps: with ps; [ ];
"vera" = ps: with ps; [ ];
"verisure" = ps: with ps; [ ];
"version" = ps: with ps; [ ];
"version" = ps: with ps; [ pyhaversion ];
"vesync" = ps: with ps; [ ];
"viaggiatreno" = ps: with ps; [ ];
"vicare" = ps: with ps; [ ];
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -175,6 +175,8 @@ in {

apprise = callPackage ../development/python-modules/apprise { };

aresponses = callPackage ../development/python-modules/aresponses { };

argon2_cffi = callPackage ../development/python-modules/argon2_cffi { };

asana = callPackage ../development/python-modules/asana { };
@@ -6158,6 +6160,8 @@ in {

pyhamcrest = callPackage ../development/python-modules/pyhamcrest { };

pyhaversion = callPackage ../development/python-modules/pyhaversion { };

parse = callPackage ../development/python-modules/parse { };

parse-type = callPackage ../development/python-modules/parse-type { };