Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.specfile: init at 0.32.6 #358631

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions pkgs/development/python-modules/specfile/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
rpm,
nix-update-script,
}:

buildPythonPackage rec {
pname = "specfile";
version = "0.32.6";
pyproject = true;

src = fetchFromGitHub {
owner = "packit";
repo = "specfile";
rev = version;
hash = "sha256-rUrXlr0277r4XiOiNmq3FBfOKWZGVUSf+S8MBmUfl+8=";
};

build-system = [
setuptools
setuptools-scm
];

propagatedBuildInputs = [ rpm ];
pythonImportsCheck = [
"specfile"
"rpm"
];

passthru.updateScript = nix-update-script { };

meta = {
description = "A library for parsing and manipulating RPM spec files";
homepage = "https://packit.dev/specfile";
changelog = "https://github.com/packit/specfile/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sielicki ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14941,6 +14941,8 @@ self: super: with self; {

speaklater3 = callPackage ../development/python-modules/speaklater3 { };

specfile = callPackage ../development/python-modules/specfile { };

spectral-cube = callPackage ../development/python-modules/spectral-cube { };

speechbrain = callPackage ../development/python-modules/speechbrain { };
Expand Down