Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
922 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, requests, setuptools, setuptools-scm, ujson,}:
buildPythonPackage rec { pname = "enterpriseattack"; version = "1.0.3"; pyproject = true;
src = fetchFromGitHub { owner = "xakepnz"; repo = "enterpriseattack"; tag = "v${version}"; hash = "sha256-9tEJVz6eO02/iwOHIjhcASfSd2t2W06JGzxSqepUYjk="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ requests ujson ];
# Tests require network access doCheck = false;
pythonImportsCheck = [ "enterpriseattack" ];
meta = with lib; { description = "Module to interact with the Mitre Att&ck Enterprise dataset"; homepage = "https://github.com/xakepnz/enterpriseattack"; changelog = "https://github.com/xakepnz/enterpriseattack/releases/tag/v.${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}