Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
918 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub,
# build-system poetry-core,
# dependencies typing-extensions,
# tests unittestCheckHook,}:
buildPythonPackage rec { pname = "asserts"; version = "0.13.1"; pyproject = true;
src = fetchFromGitHub { owner = "srittau"; repo = "python-asserts"; tag = "v${version}"; hash = "sha256-hjTzGCcURI0NH9pgZ6KB0J3tSbgIaneDnWr8zrLVG6M="; };
build-system = [ poetry-core ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "asserts" ];
meta = { description = "Stand-alone Assertions for Python"; homepage = "https://github.com/srittau/python-asserts"; changelog = "https://github.com/srittau/python-asserts/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ doronbehar ]; };}