Skip to content

cfv: init at 3.1.0#356778

Merged
FliegendeWurst merged 3 commits intoNixOS:masterfrom
jjtt:master
Feb 8, 2025
Merged

cfv: init at 3.1.0#356778
FliegendeWurst merged 3 commits intoNixOS:masterfrom
jjtt:master

Conversation

@jjtt
Copy link
Copy Markdown
Contributor

@jjtt jjtt commented Nov 17, 2024

cfv – Command-line File Verify

cfv is a utility to test and create a wide range of checksum verification files. It currently supports testing and creating sfv, sfvmd5, csv, csv2, csv4, md5, bsdmd5, sha1, sha224, sha256, sha384, sha512, torrent and crc files. Test-only support is available for par, par2.

cfv was originally written by Matthew Mueller. Version in GitHub (https://github.com/cfv-project/cfv) is a friendly fork of cfv maintained by David Lisa Gnedt.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` labels Nov 17, 2024
@nix-owners nix-owners bot requested a review from natsukium November 17, 2024 18:15
@NixOSInfra NixOSInfra added the 12.first-time contribution This PR is the author's first one; please be gentle! label Nov 17, 2024
Comment thread pkgs/development/python-modules/cfv/default.nix Outdated
Comment thread pkgs/development/python-modules/cfv/default.nix Outdated
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Nov 18, 2024
@steeleduncan
Copy link
Copy Markdown
Contributor

Could this be rebased to two commits, the first adding you as a maintainer, the second adding the package?

Comment thread pkgs/development/python-modules/cfv/default.nix Outdated
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 29, 2024
Comment thread pkgs/development/python-modules/cfv/default.nix
Comment thread pkgs/development/python-modules/cfv/default.nix
fetchFromGitHub,
}:

buildPythonPackage rec {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the module is only used as application. In that case it should go in pkgs/by-name and use buildPythonApplication

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent suggestion. This is so much nicer now and I also figured out how to run the tests during the build. Thank you.

Could you take another look at reviewing?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had another look :)

I can review functionality most likely tomorrow.

@wegank wegank removed the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 20, 2024
@FliegendeWurst FliegendeWurst marked this pull request as draft January 28, 2025 18:11
@jjtt jjtt force-pushed the master branch 2 times, most recently from 0a4aa73 to 77faa06 Compare January 29, 2025 18:25
@github-actions github-actions bot removed the 6.topic: python Python is a high-level, general-purpose programming language. label Jan 29, 2025
@jjtt jjtt marked this pull request as ready for review January 29, 2025 18:28
@github-actions github-actions bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jan 29, 2025
@jjtt jjtt changed the title python3Packages.cfv: init at 3.1.0 cfv: init at 3.1.0 Jan 29, 2025
Comment thread pkgs/by-name/cf/cfv/package.nix Outdated
Comment thread pkgs/by-name/cf/cfv/package.nix Outdated
@FliegendeWurst FliegendeWurst merged commit f147e3e into NixOS:master Feb 8, 2025
jjtt added a commit to jjtt/cfv that referenced this pull request Feb 8, 2025
Add a section for NixOS. See NixOS/nixpkgs#356778
jjtt added a commit to jjtt/cfv that referenced this pull request Feb 9, 2025
Add a section for NixOS. See NixOS/nixpkgs#356778
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants