Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
823 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "coordinates"; version = "0.4.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "clbarnes"; repo = "coordinates"; tag = "v${version}"; hash = "sha256-S/AmH5FinTpHFFcrGAUSyjfqoIgq14QlHk9CnUkqCv4="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "coordinates" ];
meta = with lib; { description = "Convenience class for doing maths with explicit coordinates"; homepage = "https://github.com/clbarnes/coordinates"; changelog = "https://github.com/clbarnes/coordinates/releases/tag/v${version}"; license = licenses.mit; maintainers = [ ]; };}