summary refs log tree commit diff
path: root/pkgs/development/python-modules/atomiclong/default.nix
blob: 0fccc943c8a47609ad6b3c80576291f78bc3aad5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, buildPythonPackage, fetchPypi, pytest, cffi }:

buildPythonPackage rec {
  pname = "atomiclong";
  version = "0.1.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1gjbc9lvpkgg8vj7dspif1gz9aq4flkhxia16qj6yvb7rp27h4yb";
  };

  buildInputs = [ pytest ];
  propagatedBuildInputs = [ cffi ];

  meta = with lib; {
    description = "Long data type with atomic operations using CFFI";
    homepage = "https://github.com/dreid/atomiclong";
    license = licenses.mit;
    maintainers = with maintainers; [ robbinch ];
  };
}