uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/development/python-modules/pytm/default.nix
Normal file
33
pkgs/development/python-modules/pytm/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, pythonOlder
|
||||
, pydal
|
||||
, graphviz
|
||||
, pandoc
|
||||
, plantuml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytm";
|
||||
version = "1.2.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "izar";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1bx4s9a5kdyr2xvpw0smmh7zi9w38891yfqzdj1bmnsjl57x6qrg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pydal graphviz pandoc plantuml ];
|
||||
|
||||
pythonImportsCheck = [ "pytm" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Pythonic framework for threat modeling";
|
||||
homepage = "https://owasp.org/www-project-pytm/";
|
||||
license = with licenses; [ capec mit ];
|
||||
maintainers = with maintainers; [ wamserma ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue