python.pkgs.basiciw: move expression
This commit is contained in:
parent
455bf6d875
commit
e002b543af
30
pkgs/development/python-modules/basiciw/default.nix
Normal file
30
pkgs/development/python-modules/basiciw/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, gcc
|
||||||
|
, wirelesstools
|
||||||
|
, isPy27
|
||||||
|
, isPyPy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "basiciw";
|
||||||
|
version = "0.2.2";
|
||||||
|
|
||||||
|
disabled = isPy27 || isPyPy;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1ajmflvvlkflrcmqmkrx0zaira84z8kv4ssb2jprfwvjh8vfkysb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ gcc ];
|
||||||
|
propagatedBuildInputs = [ wirelesstools ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Get info about wireless interfaces using libiw";
|
||||||
|
homepage = https://github.com/enkore/basiciw;
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
license = lib.licenses.gpl2;
|
||||||
|
};
|
||||||
|
}
|
@ -925,26 +925,8 @@ in {
|
|||||||
|
|
||||||
babelfish = callPackage ../development/python-modules/babelfish {};
|
babelfish = callPackage ../development/python-modules/babelfish {};
|
||||||
|
|
||||||
basiciw = buildPythonPackage rec {
|
basiciw = callPackage ../development/python-modules/basiciw {
|
||||||
name = "${pname}-${version}";
|
inherit (pkgs) gcc wirelesstools;
|
||||||
version = "0.2.2";
|
|
||||||
pname = "basiciw";
|
|
||||||
disabled = isPy27 || isPyPy;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/b/${pname}/${name}.tar.gz";
|
|
||||||
sha256 = "1ajmflvvlkflrcmqmkrx0zaira84z8kv4ssb2jprfwvjh8vfkysb";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ pkgs.gcc ];
|
|
||||||
propagatedBuildInputs = [ pkgs.wirelesstools ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Get info about wireless interfaces using libiw";
|
|
||||||
homepage = https://github.com/enkore/basiciw;
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.gpl2;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
batinfo = callPackage ../development/python-modules/batinfo {};
|
batinfo = callPackage ../development/python-modules/batinfo {};
|
||||||
|
Loading…
Reference in New Issue
Block a user