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: 2206d51bd827
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d84fb6400cc6
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jan 9, 2020

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    mawis Matthias Wimmer
    Copy the full SHA
    4f4e036 View commit details
  2. python3Packages.coordinates: init at 0.4.0

    mildlyincompetent authored and Jon committed Jan 9, 2020
    Copy the full SHA
    d84fb64 View commit details
Showing with 40 additions and 0 deletions.
  1. +6 −0 maintainers/maintainer-list.nix
  2. +32 −0 pkgs/development/python-modules/coordinates/default.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -4592,6 +4592,12 @@
githubId = 3958340;
name = "Eshin Kunishima";
};
mildlyincompetent = {
email = "nix@kch.dev";
github = "mildlyincompetent";
githubId = 19479662;
name = "Kajetan Champlewski";
};
miltador = {
email = "miltador@yandex.ua";
name = "Vasiliy Solovey";
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/coordinates/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, pytest
}:

buildPythonPackage rec {
pname = "coordinates";
version = "0.4.0";

disabled = pythonOlder "3.5";

src = fetchFromGitHub {
owner = "clbarnes";
repo = "coordinates";
rev = "v${version}";
sha256 = "1zha594rshjg3qjq9mrai2hfldya282ihasp2i3km7b2j4gjdw2b";
};

checkInputs = [ pytest ];

checkPhase = ''
runHook preCheck
pytest tests/
runHook postCheck
'';

meta = with lib; {
description = "Convenience class for doing maths with explicit coordinates";
homepage = https://github.com/clbarnes/coordinates;
license = licenses.mit;
maintainers = [ maintainers.mildlyincompetent ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -548,6 +548,8 @@ in {

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

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

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

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