nixpkgs/pkgs/development/python-modules/coordinates/default.nix
Alex Eyre 3e4878370e python-modules/coordinates: remove mildlyincompetent from the maintainers list
also removed from maintainers-list.nix, motivation for change is
that he was a friend, and he unfortunately passed away earlier this year.
2020-10-30 07:52:03 +00:00

33 lines
683 B
Nix

{ 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 = [ ];
};
}