diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/ar')
-rw-r--r-- | nixpkgs/pkgs/by-name/ar/arjun/package.nix | 43 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/ar/armbian-firmware/package.nix | 33 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix | 36 |
3 files changed, 112 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/ar/arjun/package.nix b/nixpkgs/pkgs/by-name/ar/arjun/package.nix new file mode 100644 index 000000000000..bd98e1c1cb33 --- /dev/null +++ b/nixpkgs/pkgs/by-name/ar/arjun/package.nix @@ -0,0 +1,43 @@ +{ lib +, python3 +, fetchFromGitHub +}: + +python3.pkgs.buildPythonApplication rec { + pname = "arjun"; + version = "2.2.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "s0md3v"; + repo = "Arjun"; + rev = "refs/tags/${version}"; + hash = "sha256-YxfUlD7aBwoYYsZE0zTZxoXg1TgU2yT1V+mglmsXtlo="; + }; + + nativeBuildInputs = with python3.pkgs; [ + setuptools + wheel + ]; + + propagatedBuildInputs = with python3.pkgs; [ + requests + dicttoxml + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "arjun" + ]; + + meta = with lib; { + description = "HTTP parameter discovery suite"; + homepage = "https://github.com/s0md3v/Arjun"; + changelog = "https://github.com/s0md3v/Arjun/blob/${version}/CHANGELOG.md"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ octodi ]; + mainProgram = "arjun"; + }; +} diff --git a/nixpkgs/pkgs/by-name/ar/armbian-firmware/package.nix b/nixpkgs/pkgs/by-name/ar/armbian-firmware/package.nix new file mode 100644 index 000000000000..6e97c5908871 --- /dev/null +++ b/nixpkgs/pkgs/by-name/ar/armbian-firmware/package.nix @@ -0,0 +1,33 @@ +{ stdenvNoCC, lib, fetchFromGitHub }: +stdenvNoCC.mkDerivation rec { + pname = "armbian-firmware"; + version = "unstable-2023-09-16"; + + src = fetchFromGitHub { + owner = "armbian"; + repo = "firmware"; + rev = "01f9809bb0c4bd60c0c84b9438486b02d58b03f7"; + hash = "sha256-ozKADff7lFjIT/Zf5dkNlCe8lOK+kwYb/60NaCJ8i2k="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/lib/firmware + cp -a * $out/lib/firmware/ + + runHook postInstall + ''; + + # Firmware blobs do not need fixing and should not be modified + dontBuild = true; + dontFixup = true; + + meta = with lib; { + description = "Firmware from Armbian"; + homepage = "https://github.com/armbian/firmware"; + license = licenses.unfree; + platforms = platforms.all; + maintainers = with maintainers; [ zaldnoay ]; + }; +} diff --git a/nixpkgs/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix b/nixpkgs/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix new file mode 100644 index 000000000000..c1f4a8a3d75b --- /dev/null +++ b/nixpkgs/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix @@ -0,0 +1,36 @@ +{ lib +, python3 +, python3Packages +, fetchFromGitHub +}: +python3Packages.buildPythonApplication rec { + pname = "arxiv-latex-cleaner"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "google-research"; + repo = "arxiv-latex-cleaner"; + rev = "v${version}"; + hash = "sha256-1IWSDKEoAM4hBKAEEcPq7X89WYDprifDL2GTEJQtdcQ="; + }; + + propagatedBuildInputs = with python3Packages; [ + pillow + pyyaml + regex + absl-py + ]; + + checkPhase = '' + runHook preCheck + ${python3.interpreter} -m unittest arxiv_latex_cleaner.tests.arxiv_latex_cleaner_test + runHook postCheck + ''; + + meta = with lib; { + homepage = "https://github.com/google-research/arxiv-latex-cleaner"; + description = "Easily clean the LaTeX code of your paper to submit to arXiv"; + license = licenses.asl20; + maintainers = with maintainers; [ arkivm ]; + }; +} |