mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
34 lines
725 B
Nix
34 lines
725 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "inotify";
|
|
version = "unstable-2020-08-27";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dsoprea";
|
|
repo = "PyInotify";
|
|
rev = "f77596ae965e47124f38d7bd6587365924dcd8f7";
|
|
sha256 = "X0gu4s1R/Kg+tmf6s8SdZBab2HisJl4FxfdwKktubVc=";
|
|
fetchSubmodules = false;
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
nose
|
|
];
|
|
|
|
# dunno what's wrong but the module works regardless
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/dsoprea/PyInotify";
|
|
description = "Monitor filesystems events on Linux platforms with inotify";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|