1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-06 10:39:29 +03:00
nixpkgs/pkgs/development/python-modules/atom/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
874 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, future
, cppy
, pytestCheckHook
, pythonOlder
}:
2018-10-09 21:02:27 -04:00
buildPythonPackage rec {
pname = "atom";
2022-10-19 14:19:58 +00:00
version = "0.8.2";
format = "pyproject";
2018-10-09 21:02:27 -04:00
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nucleic";
repo = pname;
2022-06-14 03:16:17 +00:00
rev = "refs/tags/${version}";
2022-10-19 14:19:58 +00:00
hash = "sha256-45c17lewJPo39ZWMaE8kyOo6n0A9f0m58TbMAiNAqeg=";
2018-10-09 21:02:27 -04:00
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
2018-10-09 21:02:27 -04:00
nativeBuildInputs = [
setuptools-scm
];
buildInputs = [
cppy
];
preCheck = ''
rm -rf atom
'';
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"atom.api"
];
2018-10-09 21:02:27 -04:00
meta = with lib; {
description = "Memory efficient Python objects";
homepage = "https://github.com/nucleic/atom";
2018-10-09 21:02:27 -04:00
license = licenses.bsd3;
maintainers = with maintainers; [ bhipple ];
2018-10-09 21:02:27 -04:00
};
}