mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
python3Packages.graphtage: init at 0.2.5
This commit is contained in:
parent
e31c4b42f0
commit
d60f67d486
48
pkgs/development/python-modules/graphtage/default.nix
Normal file
48
pkgs/development/python-modules/graphtage/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
# Python dependencies
|
||||
, colorama
|
||||
, intervaltree
|
||||
, json5
|
||||
, pyyaml
|
||||
, scipy
|
||||
, tqdm
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "graphtage";
|
||||
version = "0.2.5";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trailofbits";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cFOTbPv7CnRdet7bx5LVq5xp9LG4yNm0oxlW5aSEeZs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorama
|
||||
intervaltree
|
||||
json5
|
||||
pyyaml
|
||||
scipy
|
||||
tqdm
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "graphtage" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/trailofbits/graphtage";
|
||||
description = "A utility to diff tree-like files such as JSON and XML";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ veehaitch ];
|
||||
};
|
||||
}
|
@ -2808,6 +2808,8 @@ in {
|
||||
|
||||
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { inherit (pkgs) pkg-config; };
|
||||
|
||||
graphtage = callPackage ../development/python-modules/graphtage { };
|
||||
|
||||
graphviz = callPackage ../development/python-modules/graphviz { inherit (pkgs) graphviz; };
|
||||
|
||||
grappelli_safe = callPackage ../development/python-modules/grappelli_safe { };
|
||||
|
Loading…
Reference in New Issue
Block a user