34 lines
681 B
Nix
34 lines
681 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
wheel,
|
|
babel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynpm";
|
|
version = "0.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "inveniosoftware";
|
|
repo = "pynpm";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-GjfylyxPZrRGCLuNZejmTdQGz5JugKHYpVix8WF/8QK=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
wheel
|
|
babel
|
|
];
|
|
|
|
meta = {
|
|
description = "Python interface to your NPM and package.json";
|
|
homepage = "https://github.com/inveniosoftware/pynpm";
|
|
changelog = "https://github.com/inveniosoftware/pynpm/blob/${version}/CHANGES.rst";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|