mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / shlib / default.nix
blob8bc4ba90d3e1d28bef8dc106a0202945bf2acf92
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   pytestCheckHook,
7   braceexpand,
8   inform,
9 }:
11 buildPythonPackage rec {
12   pname = "shlib";
13   version = "1.6";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "KenKundert";
18     repo = "shlib";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-f2jJgpjybutCpYnIT+RihtoA1YlXdhTs+MvV8bViSMQ=";
21   };
23   postPatch = ''
24     patchShebangs .
25   '';
27   build-system = [ flit-core ];
29   dependencies = [
30     braceexpand
31     inform
32   ];
34   nativeCheckInputs = [ pytestCheckHook ];
36   pythonImportsCheck = [ "shlib" ];
38   meta = with lib; {
39     description = "shell library";
40     homepage = "https://github.com/KenKundert/shlib";
41     changelog = "https://github.com/KenKundert/shlib/releases/tag/v${version}";
42     license = licenses.gpl3Plus;
43     maintainers = with maintainers; [ jpetrucciani ];
44   };