forked from mirrors/nixpkgs
python3Packages.pymdstat: init at 0.4.2
This commit is contained in:
parent
ff795a714b
commit
fb46c46761
30
pkgs/development/python-modules/pymdstat/default.nix
Normal file
30
pkgs/development/python-modules/pymdstat/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymdstat";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nicolargo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "01hj8vyd9f7610sqvzphpr033rvnazbwvl11gi18ia3yqlnlncp0";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} $src/unitest.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pymdstat" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pythonic library to parse Linux /proc/mdstat file";
|
||||
homepage = "https://github.com/nicolargo/pymdstat";
|
||||
maintainers = with maintainers; [ rhoriguchi ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -5995,6 +5995,8 @@ in {
|
|||
|
||||
pymc3 = callPackage ../development/python-modules/pymc3 { };
|
||||
|
||||
pymdstat = callPackage ../development/python-modules/pymdstat { };
|
||||
|
||||
pymediainfo = callPackage ../development/python-modules/pymediainfo { };
|
||||
|
||||
pymediaroom = callPackage ../development/python-modules/pymediaroom { };
|
||||
|
|
Loading…
Reference in a new issue