1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 docopt,
6}:
7
8buildPythonPackage {
9 pname = "spoof-mac";
10 version = "unstable-2018-01-27";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "feross";
15 repo = "SpoofMAC";
16 rev = "2cfc796150ef48009e9b765fe733e37d82c901e0";
17 sha256 = "sha256-Qiu0URjUyx8QDVQQUFGxPax0J80e2m4+bPJeqFoKxX8=";
18 };
19
20 propagatedBuildInputs = [ docopt ];
21
22 # No tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "spoofmac" ];
26
27 meta = with lib; {
28 description = "Change your MAC address for debugging purposes";
29 homepage = "https://github.com/feross/SpoofMAC";
30 license = licenses.mit;
31 maintainers = with maintainers; [ siraben ];
32 platforms = platforms.unix;
33 };
34}