blob: 329312e135c36bc5014dfb3d057616fdf5367522 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest,
}:
buildPythonPackage rec {
pname = "shutilwhich";
version = "1.1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "mbr";
repo = "shutilwhich";
rev = version;
sha256 = "05fwcjn86w8wprck04iv1zccfi39skdf0lhwpb4b9gpvklyc9mj0";
};
nativeCheckInputs = [ pytest ];
checkPhase = ''
pytest -rs
'';
meta = {
description = "Backport of shutil.which";
license = lib.licenses.psfl;
homepage = "https://github.com/mbr/shutilwhich";
maintainers = with lib.maintainers; [ multun ];
};
}
|