Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
750 B
Nix
32 lines
750 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "jstyleson";
|
|
version = "0.0.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linjackson78";
|
|
repo = "jstyleson";
|
|
# https://github.com/linjackson78/jstyleson/issues/6
|
|
rev = "544b9fdb43339cdd15dd03dc69a6d0f36dd73241";
|
|
hash = "sha256-s/0DDfy+07TuUNjHPqKRT3xMMQl6spZCacB7Dweof7A=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "jstyleson" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library to parse JSON with js-style comments";
|
|
homepage = "https://github.com/linjackson78/jstyleson";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ambroisie ];
|
|
};
|
|
}
|