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
41
pkgs/development/python-modules/i-pi/default.nix
Normal file
41
pkgs/development/python-modules/i-pi/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ buildPythonPackage, lib, fetchFromGitHub, gfortran
|
||||
, makeWrapper, numpy, pytest, mock, pytest-mock
|
||||
} :
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "i-pi";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "i-pi";
|
||||
repo = "i-pi";
|
||||
rev = "v${version}";
|
||||
sha256 = "0d0ag57aa0fsqjwya27fyj8alimjvlxzgh6hxjqy1k4ap9h3n1cy";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gfortran
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
mock
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/i-pi \
|
||||
--set IPI_ROOT $out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A universal force engine for ab initio and force field driven (path integral) molecular dynamics";
|
||||
license = with licenses; [ gpl3Only mit ];
|
||||
homepage = "http://ipi-code.org/";
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.sheepforce ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue