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
47
pkgs/development/python-modules/validphys2/default.nix
Normal file
47
pkgs/development/python-modules/validphys2/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, lhapdf
|
||||
, nnpdf
|
||||
, prompt-toolkit
|
||||
, reportengine
|
||||
, requests
|
||||
, seaborn
|
||||
, validobj
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "validphys2";
|
||||
version = "4.0";
|
||||
format = "setuptools";
|
||||
|
||||
inherit (nnpdf) src;
|
||||
|
||||
prePatch = ''
|
||||
cd validphys2
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/validphys/version.py \
|
||||
--replace '= __give_git()' '= "${version}"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lhapdf
|
||||
nnpdf
|
||||
prompt-toolkit
|
||||
reportengine
|
||||
requests
|
||||
seaborn
|
||||
validobj
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
pythonImportsCheck = [ "validphys" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "NNPDF analysis framework";
|
||||
homepage = "https://data.nnpdf.science/validphys-docs/guide.html";
|
||||
inherit (nnpdf.meta) license;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue