summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ioctl-opt/default.nix
blob: dfbb6caa7417b3201bf581942e40092b353ae427 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "ioctl-opt";
  version = "1.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "vpelletier";
    repo = "python-ioctl-opt";
    tag = version;
    hash = "sha256-OPQmJUrZIFPdoKitlqWvgMHkLSK2nC01Yy7UpGy+aP8=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "ioctl_opt" ];

  meta = {
    description = "Pythonified linux asm-generic/ioctl.h";
    homepage = "https://github.com/vpelletier/python-ioctl-opt";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ rnhmjoj ];
  };
}