mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
61 lines
1.0 KiB
Nix
61 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
mock,
|
|
pytest,
|
|
pytest-mock,
|
|
pytest-server-fixtures,
|
|
pytest-localserver,
|
|
termcolor,
|
|
click,
|
|
markdown2,
|
|
six,
|
|
jsonref,
|
|
pyyaml,
|
|
xmltodict,
|
|
attrs,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ramlfications";
|
|
version = "0.2.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-wcQd5j74y7d0xFeWlwlhceZj95ixUmv5upnv/6Rl1ew=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Python RAML parser";
|
|
mainProgram = "ramlfications";
|
|
homepage = "https://ramlfications.readthedocs.org";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
|
|
doCheck = false;
|
|
# [darwin] AssertionError: Expected 'update_mime_types' to have been called once. Called 0 times.
|
|
|
|
buildInputs = [
|
|
mock
|
|
pytest
|
|
pytest-mock
|
|
pytest-server-fixtures
|
|
pytest-localserver
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
termcolor
|
|
click
|
|
markdown2
|
|
six
|
|
jsonref
|
|
pyyaml
|
|
xmltodict
|
|
attrs
|
|
];
|
|
}
|