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

twolame: init at 2017-09-27 #29914

Merged
merged 1 commit into from Oct 1, 2017
Merged

twolame: init at 2017-09-27 #29914

merged 1 commit into from Oct 1, 2017

Conversation

AndersonTorres
Copy link
Member

@AndersonTorres AndersonTorres commented Sep 29, 2017

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@orivej orivej left a comment

Choose a reason for hiding this comment

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

Later this should be tested on Darwin and added to ffmpeg-full, but that is not necessary to merge this. (CC @codyopel.)

'';
homepage = http://www.twolame.org/;
license = with licenses; [ lgpl2Plus ];
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add platforms and maintainers.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will put "unix", but I don't have a Darwin here to test it.

Copy link
Member

Choose a reason for hiding this comment

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

Maintainers?

Copy link
Member Author

Choose a reason for hiding this comment

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

@vyp done!

stdenv.mkDerivation rec {

name = "twolame-${version}";
version = "git-2017-09-27";
Copy link
Contributor

Choose a reason for hiding this comment

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

https://nixos.org/nixpkgs/manual/#sec-package-naming

The version part of the name attribute must start with a digit (following a dash) — e.g., "hello-0.3.1rc2".
If a package is not a release but a commit from a repository, then the version part of the name must be the date of that (fetched) commit. The date must be in "YYYY-MM-DD" format. Also append "unstable" to the name - e.g., "pkgname-unstable-2014-09-23".

Copy link
Contributor

Choose a reason for hiding this comment

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

But don't append unstable, since this is the only version and you treat it as stable.

Copy link
Member Author

Choose a reason for hiding this comment

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

In sum: erasing the git- part?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. (And from the commit message too.)

sha256 = "1rq3yc8ygzdqid9zk6pixmm4w9sk2vrlx217lhn5bjaglv7iyf7x";
};

buildInputs = [ autoreconfHook pkgconfig libsndfile ];
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move autoreconfHook and pkgconfig to nativeBuildInputs.

@AndersonTorres AndersonTorres changed the title twolame: init at git-2017-09-27 twolame: init at 2017-09-27 Sep 30, 2017
@orivej orivej merged commit f1b54fb into NixOS:master Oct 1, 2017
@orivej
Copy link
Contributor

orivej commented Oct 1, 2017

Thank you!

@AndersonTorres AndersonTorres deleted the upload/twolame branch February 23, 2018 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants