mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Merge master into staging-next
This commit is contained in:
commit
8ba820d7db
181
CONTRIBUTING.md
181
CONTRIBUTING.md
@ -93,6 +93,8 @@ This section describes in some detail how changes can be made and proposed with
|
||||
7. Respond to review comments, potential CI failures and potential merge conflicts by updating the pull request.
|
||||
Always keep the pull request in a mergeable state.
|
||||
|
||||
This process is covered in more detail from the non-technical side in [I opened a PR, how do I get it merged?](#i-opened-a-pr-how-do-i-get-it-merged).
|
||||
|
||||
The custom [OfBorg](https://github.com/NixOS/ofborg) CI system will perform various checks to help ensure code quality, whose results you can see at the bottom of the pull request.
|
||||
See [the OfBorg Readme](https://github.com/NixOS/ofborg#readme) for more details.
|
||||
|
||||
@ -306,7 +308,7 @@ If you consider having enough knowledge and experience in a topic and would like
|
||||
|
||||
Container system, boot system and library changes are some examples of the pull requests fitting this category.
|
||||
|
||||
## How to merge pull requests
|
||||
## How to merge pull requests yourself
|
||||
[pr-merge]: #how-to-merge-pull-requests
|
||||
|
||||
To streamline automated updates, leverage the nixpkgs-merge-bot by simply commenting `@NixOS/nixpkgs-merge-bot merge`. The bot will verify if the following conditions are met, refusing to merge otherwise:
|
||||
@ -316,10 +318,7 @@ To streamline automated updates, leverage the nixpkgs-merge-bot by simply commen
|
||||
|
||||
Further, nixpkgs-merge-bot will ensure all ofBorg checks (except the Darwin-related ones) are successfully completed before merging the pull request. Should the checks still be underway, the bot patiently waits for ofBorg to finish before attempting the merge again.
|
||||
|
||||
For other pull requests, the *Nixpkgs committers* are people who have been given
|
||||
permission to merge.
|
||||
|
||||
It is possible for community members that have enough knowledge and experience on a special topic to contribute by merging pull requests.
|
||||
For other pull requests, please see [I opened a PR, how do I get it merged?](#i-opened-a-pr-how-do-i-get-it-merged).
|
||||
|
||||
In case the PR is stuck waiting for the original author to apply a trivial
|
||||
change (a typo, capitalisation change, etc.) and the author allowed the members
|
||||
@ -516,6 +515,7 @@ To get a sense for what changes are considered mass rebuilds, see [previously me
|
||||
- [Commit conventions](./doc/README.md#commit-conventions) for changes to `doc`, the Nixpkgs manual.
|
||||
|
||||
### Writing good commit messages
|
||||
[writing-good-commit-messages]: #writing-good-commit-messages
|
||||
|
||||
In addition to writing properly formatted commit messages, it's important to include relevant information so other developers can later understand *why* a change was made. While this information usually can be found by digging code, mailing list/Discourse archives, pull request discussions or upstream changes, it may require a lot of work.
|
||||
|
||||
@ -614,3 +614,174 @@ Names of files and directories should be in lowercase, with dashes between words
|
||||
|
||||
As an exception, an explicit conditional expression with null can be used when fixing a important bug without triggering a mass rebuild.
|
||||
If this is done a follow up pull request _should_ be created to change the code to `lib.optional(s)`.
|
||||
|
||||
## I opened a PR, how do I get it merged?
|
||||
[i-opened-a-pr-how-do-i-get-it-merged]:#i-opened-a-pr-how-do-i-get-it-merged
|
||||
|
||||
In order for your PR to be merged, someone with merge permissions on the repository ("committer") needs to review and merge it.
|
||||
Because the group of people with merge permissions is mostly a collection of independent unpaid volunteers who do this in their own free time, this can take some time to happen.
|
||||
It is entirely normal for your PR to sit around without any feedback for days, weeks or sometimes even months.
|
||||
We strive to avoid the latter cases of course but the reality of it is that this does happen quite frequently.
|
||||
Even when you get feedback, follow-up feedback may take similarly long.
|
||||
Don't be intimidated by this and kindly ask for feedback again every so often.
|
||||
If your change is good it will eventually be merged at some point.
|
||||
|
||||
There are some things you can do to help speed up the process of your PR being merged though.
|
||||
In order to speed the process up, you need to know what needs to happen before a committer will actually hit the merge button.
|
||||
This section intends to give a little overview and insight of what happens after you create your PR.
|
||||
|
||||
### The committer's perspective
|
||||
|
||||
PRs have varying quality and even the best people make mistakes.
|
||||
It is the role of the committer team to assess whether any PR's changes are good changes or not.
|
||||
In order for any PR to be merged, at least one committer needs to be convinced of its quality enough to merge it.
|
||||
|
||||
Committers typically assess three aspects of your PR:
|
||||
|
||||
1. Whether the change's intention is necessary and desirable
|
||||
2. Whether the code quality of your changes is good
|
||||
3. Whether the artefacts produced by the code are good
|
||||
|
||||
If you want your PR to get merged quickly and smoothly, it is in your best interest to help convince committers in these three aspects.
|
||||
|
||||
### How to help committers assess your PR
|
||||
|
||||
For the committer to judge your intention, it's best to explain why you've made your change.
|
||||
This does not apply to trivial changes like version updates because the intention is obvious (though linking the changelog is appreciated).
|
||||
For any more nuanced changed or even major version upgrades, it helps if you explain the background behind your change a bit.
|
||||
E.g. if you're adding a package, explain what it is and why it should be in Nixpkgs.
|
||||
This goes hand in hand with [Writing good commit messages](#writing-good-commit-messages).
|
||||
|
||||
For the code quality assessment, you cannot do anything yourself as only the committer can do this and they already have your code to look at.
|
||||
In order to minimise the need for back and forth though, do take a look over your code changes yourself and try to put yourself into the shoes of someone who didn't just write that code.
|
||||
Would you immediately know what the code does by glancing at it?
|
||||
If not, reviewers will notice this and will ask you to clarify the code by refactoring it and/or adding a few explanations in code comments.
|
||||
Doing this preemptively can save you and the committer a lot of time.
|
||||
|
||||
The code artefacts are the hardest for committers to assess because PRs touch all sorts of components: applications, libraries, NixOS modules, editor plugins and many many other things.
|
||||
Any individual committer can only really assess components that they themselves know how to use however and yet they must still be convinced somehow.
|
||||
There isn't a good generic solution to this but there are some ways easing the committer's job here:
|
||||
|
||||
- Provide smoke tests that the committer can run without much research or setup.
|
||||
|
||||
Committers usually don't have the time or interest to learn how your component works and how they could test its functionality.
|
||||
If you can provide a quick guide on how to use the component in a meaningful way or a ready-made command that demonstrates that the component works as expected, the committer can easily convince themselves that your change is good.
|
||||
If it can be automated, you could even turn this smoke test into an automated NixOS test which reviewers could simply run via Nix.
|
||||
- Invite other users of the component to try it out and report their findings.
|
||||
|
||||
If a committer sees the testimonials of other users trying your change and it works as expected for them, that too can convince the committer of your PR's quality.
|
||||
- Describe what you have done to test your PR.
|
||||
|
||||
If you can convince the committer that you have done sufficient quality assurance on your changes and they trust your report, this too can convince them of your PR's quality, albeit not as strongly as the methods above.
|
||||
- Become a maintainer of the component.
|
||||
|
||||
This isn't something you can do on your first few PRs touching a component but listed maintainers generally receive more trust when it comes to changes to their maintained components and committers may opt to merge changes without deeper review when they see they're done by their respective maintainer.
|
||||
|
||||
Even if you adhere to all of these recommendations, it is still quite possible for your PR to be forgotten or abandoned by any given committer.
|
||||
Please remain mindful of the fact that they are doing this on their own volition and unpaid in their free time and therefore [owe you nothing](https://mikemcquaid.com/open-source-maintainers-owe-you-nothing/).
|
||||
Causing a stink in such a situation is a surefire way to get any other potential committer to not want to look at your PR either.
|
||||
Ask them nicely whether they still intend to review your PR and find yourself another committer to look at your PR if not.
|
||||
|
||||
### How can I get a committer to look at my PR?
|
||||
|
||||
- Simply wait. Reviewers frequently browse open PRs and may happen to run across yours and take a look.
|
||||
- Get non-committers to review/approve. Many committers filter open PRs for low-hanging fruit that are already been reviewed.
|
||||
- [@-mention](https://github.blog/news-insights/mention-somebody-they-re-notified/) someone and ask them nicely
|
||||
- Post in one of the channels made for this purpose if there has been no activity for at least one week
|
||||
- The current "PRs ready for review" or "PRs already reviewed" threads in the [NixOS Discourse](https://discourse.nixos.org/c/dev/14) (of course choose the one that applies to your situation)
|
||||
- The [Nixpkgs Review Requests Matrix room](https://matrix.to/#/#review-requests:nixos.org).
|
||||
|
||||
### CI failed or got stuck on my PR, what do I do?
|
||||
|
||||
First ensure that the failure is actually related to your change.
|
||||
Sometimes, the CI system simply has a hiccup or the check was broken by someone else before you made your changes.
|
||||
Read through the error message; it's usually quite easy to tell whether it is caused by anything you did by checking whether it mentions the component you touched anywhere.
|
||||
If it is indeed caused by your change, obviously try to fix it.
|
||||
Don't be afraid of asking for advice if you're uncertain how to do that, others have likely fixed such issues dozens of times and can help you out.
|
||||
Your PR is unlikely to be merged if it has a known issue and it is the purpose of CI to alert you aswell as reviewers to these issues.
|
||||
|
||||
ofBorg builds can often get stuck, particularly in PRs targeting `staging` and in builders for the Darwin platform. Reviewers will know how to handle them or when to ignore them.
|
||||
Don't worry about it.
|
||||
If there is a build failure however and it happened due to a package related to your change, you need to investigate it of course.
|
||||
If ofBorg reveals the build to be broken on some platform and you don't have access to that platform, you should set your package's `meta.broken` accordingly.
|
||||
|
||||
When in any doubt, please simply ask via a comment in your PR or through one of the help channels.
|
||||
|
||||
## I received a review on my PR, how do I get it over the finish line?
|
||||
|
||||
In the review process, the committer will have left some sort of feedback on your PR.
|
||||
They may have immediately approved of your PR or even merged it but the more likely case is that they want you to change a few things or that they require further input.
|
||||
|
||||
A reviewer may have taken a look at the code and it looked good to them ("Diff LGTM") but they still need to be convinced of the artefact's quality.
|
||||
They might also be waiting on input from other users of the component or its listed maintainer on whether the intention of your PR makes sense for the component.
|
||||
If you know of people who could help clarify any of this, please bring the PR to their attention.
|
||||
The current state of the PR is frequently not clearly communicated, so please don't hesitate to ask about it if it's unclear to you.
|
||||
|
||||
It's also possible for the reviewer to not be convinced that your PR is necessary or that the method you've chose to achieve your intention is the right one.
|
||||
|
||||
Please explain your intentions and reasoning to the committer in such a case.
|
||||
There may be constraints you had to work with which they're not aware of or qualities of your approach that they didn't immediately notice.
|
||||
(If these weren't clear to the reviewer, that's a good sign you should explain them in your commit message or code comments!)
|
||||
|
||||
There are some further pitfalls and realities which this section intends to make you aware of.
|
||||
|
||||
### A reviewer requested a bunch of insubstantial changes on my PR
|
||||
|
||||
The people involved in Nixpkgs care about code quality because, once in Nixpkgs, it needs to be maintained for many years to come.
|
||||
It is therefore likely that other people will ask you to do some things in another way or adhere to some standard.
|
||||
Sometimes however, they also care a bit too much and may ask you to adhere to a personal preference of theirs.
|
||||
It's not always easy to tell which is which and whether the requests are critically important to merging the PR.
|
||||
Sometimes another reviewer may also come along with totally different opinions on some points too.
|
||||
|
||||
It is convention to mark review comments that are not critical to the PR as nitpicks but this is not always followed.
|
||||
As the PR author, you should still take a look at these as they will often reveal best practices and unwritten rules that usually have good reasons behind them and you may want to incorporate them into your modus operandi.
|
||||
|
||||
Please keep in mind that reviewers almost always mean well here.
|
||||
Their intent is not to denounce your code, they simply want your code to be as good as it can be.
|
||||
Through their experience, they may also take notice of a seemingly insignificant issues that have caused significant burden before.
|
||||
|
||||
Sometimes however, they can also get a bit carried away and become too perfectionistic.
|
||||
If you feel some of the requests are unreasonable or merely a matter of personal preference, try to nicely remind the reviewers that you may not intend this code to be 100% perfect or that you have different taste in some regards and press them on whether they think that these requests are *critical* to the PR's success.
|
||||
|
||||
While we do have a set of [official standards for the Nix community](https://github.com/NixOS/rfcs/), we don't have standards for everything and there are often multiple valid ways to achieve the same goal.
|
||||
Unless there are standards forbidding the patterns used in your code or there are serious technical, maintainability or readability issues with your code, you can insist to keep the code the way you made it and disregard the requests.
|
||||
Please communicate this clearly though; a simple "I prefer it this way and see no major issue with it" can save you a lot of arguing.
|
||||
|
||||
If you are unsure about some change requests, please ask reviewers *why* they requested them.
|
||||
This will usually reveal how important they deem it to be and will help educate you about standards, best practices, unwritten rules aswell as preferences people have and why.
|
||||
|
||||
Some committers may have stronger opinions on some things and therefore (understandably) may not want to merge your PR if you don't follow their requests.
|
||||
It is totally fine to get yourself a second or third opinion in such a case.
|
||||
|
||||
### Committers work on a push-basis
|
||||
|
||||
It's possible for you to get a review but nothing happens afterwards, even if you reply to review comments.
|
||||
A committer not following up on your PR does not necessarily mean they're disinterested or unresponsive, they may have simply forgotten to follow up on it or had some other circumstances preventing them from doing so.
|
||||
|
||||
Committers typically handle many other PRs besides yours and it is not realistic for them to keep up with all of them to a degree where they could reasonably remember to follow up on all PRs that they had intended following up upon.
|
||||
If someone left an approving review on your PR and didn't merge a few days later, the most likely case is that they simply forgot.
|
||||
|
||||
Please see it as your responsibility to actively remind reviewers of your open PRs.
|
||||
|
||||
The easiest way to do so is to simply cause them a Github notification.
|
||||
Github notifies people involved in the PR when you add a comment to your PR, push your PR or re-request their review.
|
||||
Doing any of that will get you people's attention again.
|
||||
|
||||
It may very well be the case that you have to do this every time you need the committer to follow up upon your PR.
|
||||
Again, this is a community project so please be mindful of people's circumstances here; be nice when requesting reviews again.
|
||||
|
||||
It may also be the case that the committer has lost interest or isn't familiar enough with the component you're touching to be comfortable merging your PR.
|
||||
They will likely not immediately state that fact however, so please ask for clarification and don't hesitate to find yourself another committer to take a look at your PR.
|
||||
|
||||
### Nothing helped
|
||||
|
||||
If you followed these guidelines but still got no results or if you feel that you have been wronged in some way, please explicitly reach out to the greater community via its communication channels.
|
||||
|
||||
The [NixOS Discourse](https://discourse.nixos.org/) is a great place to do this as it has historically been the asynchronous medium with the greatest concentration of committers and other people who are significantly involved in Nixpkgs.
|
||||
There is a dedicated discourse thread [PRs in distress](https://discourse.nixos.org/t/prs-in-distress/3604) where you can link your PR if everything else fails.
|
||||
The [Nixpkgs / NixOS contributions Matrix channel](https://matrix.to/#/#dev:nixos.org) is the best synchronous channel with the same qualities.
|
||||
|
||||
Please reserve these for cases where you've made a serious effort in trying to get the attention of multiple active committers and provided realistic means for them to assess your PR's quality though.
|
||||
As mentioned previously, it is unfortunately perfectly normal for a PR to sit around for weeks on end due to the realities of this being a community project.
|
||||
Please don't blow up situations where progress is happening but is merely not going fast enough for your tastes.
|
||||
Honking in a traffic jam will not make you go any faster.
|
||||
|
@ -3816,6 +3816,13 @@
|
||||
githubId = 98980;
|
||||
name = "Chmouel Boudjnah";
|
||||
};
|
||||
chn = {
|
||||
name = "Haonan Chen";
|
||||
email = "chn@chn.moe";
|
||||
matrix = "@chn:chn.moe";
|
||||
github = "CHN-beta";
|
||||
githubId = 35858462;
|
||||
};
|
||||
choochootrain = {
|
||||
email = "hurshal@imap.cc";
|
||||
github = "choochootrain";
|
||||
|
@ -72,7 +72,28 @@ in {
|
||||
defaultText = literalExpression ''
|
||||
if name == "" then "redis" else "redis-''${name}"
|
||||
'';
|
||||
description = "The username and groupname for redis-server.";
|
||||
description = ''
|
||||
User account under which this instance of redis-server runs.
|
||||
|
||||
::: {.note}
|
||||
If left as the default value this user will automatically be
|
||||
created on system activation, otherwise you are responsible for
|
||||
ensuring the user exists before the redis service starts.
|
||||
'';
|
||||
};
|
||||
|
||||
group = mkOption {
|
||||
type = types.str;
|
||||
default = config.user;
|
||||
defaultText = literalExpression "config.user";
|
||||
description = ''
|
||||
Group account under which this instance of redis-server runs.
|
||||
|
||||
::: {.note}
|
||||
If left as the default value this group will automatically be
|
||||
created on system activation, otherwise you are responsible for
|
||||
ensuring the group exists before the redis service starts.
|
||||
'';
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
@ -337,7 +358,7 @@ in {
|
||||
redisConfStore = redisConfig conf.settings;
|
||||
in ''
|
||||
touch "${redisConfVar}" "${redisConfRun}"
|
||||
chown '${conf.user}' "${redisConfVar}" "${redisConfRun}"
|
||||
chown '${conf.user}':'${conf.group}' "${redisConfVar}" "${redisConfRun}"
|
||||
chmod 0600 "${redisConfVar}" "${redisConfRun}"
|
||||
if [ ! -s ${redisConfVar} ]; then
|
||||
echo 'include "${redisConfRun}"' > "${redisConfVar}"
|
||||
@ -353,7 +374,7 @@ in {
|
||||
Type = "notify";
|
||||
# User and group
|
||||
User = conf.user;
|
||||
Group = conf.user;
|
||||
Group = conf.group;
|
||||
# Runtime directory and mode
|
||||
RuntimeDirectory = redisName name;
|
||||
RuntimeDirectoryMode = "0750";
|
||||
|
@ -49,10 +49,10 @@ let
|
||||
in
|
||||
if isString v then toPhpString v
|
||||
# NOTE: If any value contains a , (comma) this will not get escaped
|
||||
else if isList v && any lib.strings.isCoercibleToString v then toPhpString (concatMapStringsSep "," toString v)
|
||||
else if isList v && strings.isConvertibleWithToString v then toPhpString (concatMapStringsSep "," toString v)
|
||||
else if isInt v then toString v
|
||||
else if isBool v then toString (if v then 1 else 0)
|
||||
else if isHasAttr "_file" then "trim(file_get_contents(${toPhpString v._file}))"
|
||||
else if isHasAttr "_file" then "trim(file_get_contents(${toPhpString (toString v._file)}))"
|
||||
else if isHasAttr "_raw" then v._raw
|
||||
else abort "The dokuwiki localConf value ${lib.generators.toPretty {} v} can not be encoded."
|
||||
;
|
||||
|
@ -31,7 +31,7 @@ let
|
||||
mkPhpValue = v:
|
||||
if isString v then escapeShellArg v
|
||||
# NOTE: If any value contains a , (comma) this will not get escaped
|
||||
else if isList v && any lib.strings.isCoercibleToString v then escapeShellArg (concatMapStringsSep "," toString v)
|
||||
else if isList v && strings.isConvertibleWithToString v then escapeShellArg (concatMapStringsSep "," toString v)
|
||||
else if isInt v then toString v
|
||||
else if isBool v then boolToString v
|
||||
else abort "The Invoiceplane config value ${lib.generators.toPretty {} v} can not be encoded."
|
||||
|
@ -81,10 +81,10 @@ let
|
||||
in
|
||||
if isString v then toPhpString v
|
||||
# NOTE: If any value contains a , (comma) this will not get escaped
|
||||
else if isList v && any lib.strings.isCoercibleToString v then toPhpString (concatMapStringsSep "," toString v)
|
||||
else if isList v && strings.isConvertibleWithToString v then toPhpString (concatMapStringsSep "," toString v)
|
||||
else if isInt v then toString v
|
||||
else if isBool v then boolToString v
|
||||
else if isHasAttr "_file" then "trim(file_get_contents(${toPhpString v._file}))"
|
||||
else if isHasAttr "_file" then "trim(file_get_contents(${toPhpString (toString v._file)}))"
|
||||
else if isHasAttr "_raw" then v._raw
|
||||
else abort "The Wordpress config value ${lib.generators.toPretty {} v} can not be encoded."
|
||||
;
|
||||
|
@ -25,6 +25,6 @@ python3Packages.buildPythonApplication rec {
|
||||
mainProgram = "dr14_tmeter";
|
||||
license = licenses.gpl3Plus;
|
||||
homepage = "http://dr14tmeter.sourceforge.net/";
|
||||
maintainers = [ maintainers.adisbladis ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
@ -16,14 +16,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "surge-XT";
|
||||
version = "1.3.2";
|
||||
version = "1.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "surge-synthesizer";
|
||||
repo = "surge";
|
||||
rev = "release_xt_${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-r8CZxjmH9lfCizc95jRB4je+R/74zMqRMlGIZxxxriw=";
|
||||
hash = "sha256-4b0H3ZioiXFc4KCeQReobwQZJBl6Ep2/8JlRIwvq/hQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
melpaBuild rec {
|
||||
pname = "ebuild-mode";
|
||||
version = "1.72";
|
||||
version = "1.75";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://gitweb.gentoo.org/proj/ebuild-mode.git/snapshot/ebuild-mode-${version}.tar.bz2";
|
||||
hash = "sha256-GFEDWT88Boz/DxEcmFgf7u2NOoMjAN05yRiYwoYtvXc=";
|
||||
hash = "sha256-zEJCjSL90Ok2bUbLNcEK3vWcQSOyfrWvctHqZACfdIc=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -1644,8 +1644,8 @@ let
|
||||
mktplcRef = {
|
||||
name = "elixir-ls";
|
||||
publisher = "JakeBecker";
|
||||
version = "0.24.1";
|
||||
hash = "sha256-C6p5IBJ6aKH2/AainIBwIWTPEALtHMkAd9+QnFCzA7c=";
|
||||
version = "0.24.2";
|
||||
hash = "sha256-u6l6JJ7oWyb5HjZvWxbO+2RXeSOrsgeq8jEMnGmM1Ns=";
|
||||
};
|
||||
meta = {
|
||||
changelog = "https://marketplace.visualstudio.com/items/JakeBecker.elixir-ls/changelog";
|
||||
@ -5029,6 +5029,8 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
visualjj.visualjj = callPackage ./visualjj.visualjj { };
|
||||
|
||||
visualstudioexptteam.intellicode-api-usage-examples = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "intellicode-api-usage-examples";
|
||||
|
@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
vscode-utils,
|
||||
fetchurl,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.11.8";
|
||||
|
||||
sources = {
|
||||
"x86_64-linux" = {
|
||||
arch = "linux-x64";
|
||||
url = "https://download.visualjj.com/visualjj-linux-x64-${version}.vsix";
|
||||
hash = "sha256-L46ORW4iZnZ1GNQSU4opp1bTIh036j9JNmkATjTt/qM=";
|
||||
};
|
||||
"x86_64-darwin" = {
|
||||
arch = "darwin-x64";
|
||||
url = "https://download.visualjj.com/visualjj-darwin-x64-${version}.vsix";
|
||||
hash = "sha256-h15HMZiV/bCVgoajEBe8XLSmFD7EsU2JVlpqiN6ntjQ=";
|
||||
};
|
||||
"aarch64-linux" = {
|
||||
arch = "linux-arm64";
|
||||
url = "https://download.visualjj.com/visualjj-linux-arm64-${version}.vsix";
|
||||
hash = "sha256-1h/xBMFXtHn/QA0FpZcuUFKxU65AMvaqds6Q9aNaW3s=";
|
||||
};
|
||||
"aarch64-darwin" = {
|
||||
arch = "darwin-arm64";
|
||||
url = "https://download.visualjj.com/visualjj-darwin-arm64-${version}.vsix";
|
||||
hash = "sha256-9SagMPdkB8d2GeGR/R1EmH5y6VNZtYydst9S82kAQlA=";
|
||||
};
|
||||
};
|
||||
in
|
||||
vscode-utils.buildVscodeMarketplaceExtension {
|
||||
vsix = fetchurl {
|
||||
url = sources.${stdenv.hostPlatform.system}.url;
|
||||
hash = sources.${stdenv.hostPlatform.system}.hash;
|
||||
name = "visualjj-visualjj-${version}.zip";
|
||||
};
|
||||
|
||||
mktplcRef = {
|
||||
inherit version;
|
||||
name = "visualjj";
|
||||
publisher = "visualjj";
|
||||
arch = sources.${stdenv.hostPlatform.system}.arch;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Jujutsu version control integration, for simpler Git workflow";
|
||||
downloadPage = "https://www.visualjj.com";
|
||||
homepage = "https://www.visualjj.com";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = [ lib.maintainers.drupol ];
|
||||
};
|
||||
}
|
@ -5,9 +5,16 @@
|
||||
, extraPythonPackages ? (ps: [ ])
|
||||
|
||||
, libsForQt5
|
||||
|
||||
# unwrapped package parameters
|
||||
, withGrass ? true
|
||||
, withWebKit ? false
|
||||
}:
|
||||
let
|
||||
qgis-unwrapped = libsForQt5.callPackage ./unwrapped.nix { };
|
||||
qgis-unwrapped = libsForQt5.callPackage ./unwrapped.nix {
|
||||
withGrass = withGrass;
|
||||
withWebKit = withWebKit;
|
||||
};
|
||||
in symlinkJoin rec {
|
||||
|
||||
inherit (qgis-unwrapped) version;
|
||||
|
@ -5,9 +5,16 @@
|
||||
, extraPythonPackages ? (ps: [ ])
|
||||
|
||||
, libsForQt5
|
||||
|
||||
# unwrapped package parameters
|
||||
, withGrass ? true
|
||||
, withWebKit ? false
|
||||
}:
|
||||
let
|
||||
qgis-ltr-unwrapped = libsForQt5.callPackage ./unwrapped-ltr.nix { };
|
||||
qgis-ltr-unwrapped = libsForQt5.callPackage ./unwrapped-ltr.nix {
|
||||
withGrass = withGrass;
|
||||
withWebKit = withWebKit;
|
||||
};
|
||||
in symlinkJoin rec {
|
||||
|
||||
inherit (qgis-ltr-unwrapped) version;
|
||||
|
@ -6,8 +6,8 @@
|
||||
, wrapGAppsHook3
|
||||
, wrapQtAppsHook
|
||||
|
||||
, withGrass ? true
|
||||
, withWebKit ? false
|
||||
, withGrass
|
||||
, withWebKit
|
||||
|
||||
, bison
|
||||
, cmake
|
||||
|
@ -6,8 +6,8 @@
|
||||
, wrapGAppsHook3
|
||||
, wrapQtAppsHook
|
||||
|
||||
, withGrass ? true
|
||||
, withWebKit ? false
|
||||
, withGrass
|
||||
, withWebKit
|
||||
|
||||
, bison
|
||||
, cmake
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ lib, stdenv, fetchurl, unzip, jdk, makeWrapper}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "6.0.0";
|
||||
version = "6.0.1";
|
||||
pname = "omegat";
|
||||
|
||||
src = fetchurl { # their zip has repeated files or something, so no fetchzip
|
||||
url = "mirror://sourceforge/project/omegat/OmegaT%20-%20Standard/OmegaT%206.0.0/OmegaT_6.0.0_Without_JRE.zip";
|
||||
sha256 = "sha256-dsbT5iuZBudUL4Kw4rdvi4y98mcvnYNj9jRvC5wJoYI=";
|
||||
url = "mirror://sourceforge/project/omegat/OmegaT%20-%20Standard/OmegaT%206.0.1/OmegaT_6.0.1_Without_JRE.zip";
|
||||
sha256 = "sha256-Rj50bzT8k7+GWb0p/ma+zy+PzkF7tB6iV4F4UVAImJg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper unzip ];
|
||||
|
@ -24,6 +24,6 @@ buildGoModule rec {
|
||||
description = "Process manager for Procfile-based applications and tmux";
|
||||
mainProgram = "overmind";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = [ maintainers.adisbladis ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
homepage = "https://subsurface-divelog.org";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ mguentner adisbladis ];
|
||||
maintainers = with maintainers; [ mguentner ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,9 @@
|
||||
{ lib, python3Packages, fetchgit }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchgit,
|
||||
}:
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "av-98";
|
||||
version = "1.0.2dev";
|
||||
|
||||
@ -10,7 +13,10 @@ python3Packages.buildPythonApplication rec {
|
||||
sha256 = "09iskh33hl5aaif763j1fmbz7yvf0yqsxycfd41scj7vbwdsbxl0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ ansiwrap cryptography ];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
ansiwrap
|
||||
cryptography
|
||||
];
|
||||
|
||||
# No tests are available
|
||||
doCheck = false;
|
||||
@ -22,5 +28,7 @@ python3Packages.buildPythonApplication rec {
|
||||
mainProgram = "av98";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ ehmry ];
|
||||
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "cni-plugins";
|
||||
version = "1.5.1";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containernetworking";
|
||||
repo = "plugins";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Veuv7DwwnSUnz2p5gemqQB9pr05nLLQ6gG4JvqFbZ/U=";
|
||||
hash = "sha256-7jl8c/191KiQSzixDXMcSFCrSqZFs4F7ZCe9BwrFqQ8=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
@ -6,7 +6,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ramboxapp/download/releases/download/v${version}/Rambox-${version}-linux-x64.AppImage";
|
||||
hash = "sha256-pm4Ji1gv5vNMgB9ZWNKMLZSUE9wBklQ/MnFOKHP+Rcc=";
|
||||
hash = "sha256-x9GDiSkkO0zYx/veB6xSr6/9/SW6JRTGAASlvWd/P0c=";
|
||||
};
|
||||
|
||||
desktopItem = (makeDesktopItem {
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cadical";
|
||||
version = "2.0.0";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arminbiere";
|
||||
repo = "cadical";
|
||||
rev = "rel-${version}";
|
||||
sha256 = "sha256-qoeEM9SdpuFuBPeQlCzuhPLcJ+bMQkTUTGiT8QdU8rc=";
|
||||
sha256 = "sha256-sSvJgHxsRaJ/xHEK32fox0MFI7u+pj5ERLfNn2s8kC8=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "lib" ];
|
||||
|
@ -1,26 +0,0 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonApplication
|
||||
, git-revise
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "git-branchstack";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-gja93LOcVCQ6l+Cygvsm+3uomvxtvUl6t23GIb/tKyQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
git-revise
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/krobelus/git-branchstack";
|
||||
description = "Efficiently manage Git branches without leaving your local branch";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
};
|
||||
}
|
@ -10,13 +10,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fastcdr";
|
||||
version = "2.2.4";
|
||||
version = "2.2.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eProsima";
|
||||
repo = "Fast-CDR";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-R+StDJVqT0ktbr4cQBwEAPmju+pmBvxonezsIsPwmgc=";
|
||||
hash = "sha256-bJ8/7k6+YzVsklppCoI7+pS5wVvpSDPLGrrcMejCj3g=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
30
pkgs/by-name/gi/git-branchstack/package.nix
Normal file
30
pkgs/by-name/gi/git-branchstack/package.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
let
|
||||
self = python3Packages.buildPythonApplication {
|
||||
pname = "git-branchstack";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "git-branchstack";
|
||||
inherit (self) version;
|
||||
hash = "sha256-gja93LOcVCQ6l+Cygvsm+3uomvxtvUl6t23GIb/tKyQ=";
|
||||
};
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
git-revise
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/krobelus/git-branchstack";
|
||||
description = "Efficiently manage Git branches without leaving your local branch";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
};
|
||||
};
|
||||
in
|
||||
self
|
@ -20,14 +20,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "htcondor";
|
||||
version = "23.9.6";
|
||||
version = "23.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "htcondor";
|
||||
repo = "htcondor";
|
||||
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Xm1K3KESOVStOi6iyCGA8qbQ2IcyS//sF5pvnnMZAlA=";
|
||||
hash = "sha256-5gxylfqG87dUEQT3e3vNgtTqWk0QTgWXwAdEAiIuc/E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -5,7 +5,7 @@
|
||||
, stdenv
|
||||
}:
|
||||
let
|
||||
pname = "immersed-vr";
|
||||
pname = "immersed";
|
||||
version = "10.5.0";
|
||||
|
||||
sources = rec {
|
||||
|
@ -2,14 +2,14 @@
|
||||
|
||||
libsForQt5.mkDerivation rec {
|
||||
pname = "kgeotag";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
repo = "kgeotag";
|
||||
owner = "graphics";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-G9SyGvoSOL6nsWnMuSIUSFHFUwZUzExBJBkKN46o8GI=";
|
||||
hash = "sha256-lUfU6SHRCglC81BTcVFFOp/psWXsUFOTEPUrZutrJaY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation(finalAttrs: {
|
||||
pname = "libusbp";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pololu";
|
||||
repo = "libusbp";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-60xpJ97GlqEcy2+pxGNGPfWDnbIFGoPXJijaErOBXQs=";
|
||||
hash = "sha256-hFvQceUapzlD021KIOJbSXX7qv1IQMuEudRHYeCkbS8=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -12,11 +12,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "maltego";
|
||||
version = "4.7.0";
|
||||
version = "4.8.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://downloads.maltego.com/maltego-v4/linux/Maltego.v${finalAttrs.version}.linux.zip";
|
||||
hash = "sha256-dPpkIoWK/mzC9wD+3QTNv3tYG27QVgCxtAymkwjIwUY=";
|
||||
hash = "sha256-BWLdgaAO905lhFiRbpCJUa/7JyfCiRjHwq2qZw2GjgQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "newcomputermodern";
|
||||
version = "5.1";
|
||||
version = "6.0.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.gnu.org.ua/newcm.git";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-a6paSdF754jCp4DePbx2in9316H9EjyrAKOQpyc3hEo=";
|
||||
hash = "sha256-AMzEytBn9PbyYFNJ2CMPg8ejsL3eFhY+eZHXShaLG9E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ fontforge ];
|
||||
|
32
pkgs/by-name/nt/ntpstat/package.nix
Normal file
32
pkgs/by-name/nt/ntpstat/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "ntpstat";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mlichvar";
|
||||
repo = "ntpstat";
|
||||
rev = "${finalAttrs.version}";
|
||||
hash = "sha256-dw6Pi+aB7uK65H0HL7q1vYnM5Dp0D+kG+ZIaiv8VH5I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ntpstat
|
||||
'';
|
||||
|
||||
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||
|
||||
meta = {
|
||||
description = "Print the ntpd or chronyd synchronisation status";
|
||||
homepage = "https://github.com/mlichvar/ntpstat";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "nptstat";
|
||||
maintainers = with lib.maintainers; [ hzeller ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
@ -12,7 +12,7 @@
|
||||
}:
|
||||
let
|
||||
pname = "obsidian";
|
||||
version = "1.6.7";
|
||||
version = "1.7.4";
|
||||
appname = "Obsidian";
|
||||
meta = with lib; {
|
||||
description = "Powerful knowledge base that works on top of a local folder of plain text Markdown files";
|
||||
@ -26,7 +26,7 @@ let
|
||||
filename = if stdenv.hostPlatform.isDarwin then "Obsidian-${version}.dmg" else "obsidian-${version}.tar.gz";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
|
||||
hash = if stdenv.hostPlatform.isDarwin then "sha256-rFXmhlxXlVz5nCrXMmfYGaxe4/wnBRdFxsfiwiIDHgw=" else "sha256-ok1fedN8+OXBisFpVXbKRW2OhE4o9MC9lJmtMMST6V8=";
|
||||
hash = if stdenv.hostPlatform.isDarwin then "sha256-r3dSHx3y7BzjbWYJwXwyWCeTRya2jLMVhzV7NWpRDb4=" else "sha256-NRL8WHi+4ne48z7b9G6trJZiTt/lhwcF2CZjgyYmOug=";
|
||||
};
|
||||
|
||||
icon = fetchurl {
|
||||
|
@ -89,6 +89,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
fpdf2
|
||||
ftfy
|
||||
google-generativeai
|
||||
googleapis-common-protos
|
||||
langchain
|
||||
langchain-chroma
|
||||
langchain-community
|
||||
|
@ -10,13 +10,13 @@
|
||||
}:
|
||||
let
|
||||
|
||||
version = "1.11.0";
|
||||
version = "1.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "screego";
|
||||
repo = "server";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-PTGIcv+jgX8t37otBypuZG6DaGIeo92+w6YlRynIkZE=";
|
||||
hash = "sha256-P8O3E7mNAqUid42XFaJBQm3ApxykYLCuHXDOFHrG9Fs=";
|
||||
};
|
||||
|
||||
ui = stdenv.mkDerivation {
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "qogir-kde";
|
||||
version = "0-unstable-2024-09-01";
|
||||
version = "0-unstable-2024-09-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
rev = "dff5c1fbbaa0b824684c65063b635cf27bcb19ce";
|
||||
hash = "sha256-uK9lJVRdMszA0am1/E4mfIN50yNKONH85M7+e0ERtn4=";
|
||||
rev = "9f665cc10ded4fe0a3100c9151a5bd12d1ac50ca";
|
||||
hash = "sha256-3WdDzOKO962RykLS8P4paxEiA1keGhuah/GhAKdsuhA=";
|
||||
};
|
||||
|
||||
# Propagate sddm theme dependencies to user env otherwise sddm does
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-impatience";
|
||||
version = "0.5.1";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timbertson";
|
||||
repo = "gnome-shell-impatience";
|
||||
rev = "refs/tags/version-${version}";
|
||||
hash = "sha256-yBRnhdCDeA0bL+kkrmnIqyXAlhZzO2Vthc4Dnba80j4=";
|
||||
hash = "sha256-Z+tpmmGbC1rgV4U1w6qM3g85FwpRvzHbBCmFCfcmc60=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
30
pkgs/development/coq-modules/coqutil/default.nix
Normal file
30
pkgs/development/coq-modules/coqutil/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
coq,
|
||||
findutils,
|
||||
lib,
|
||||
mkCoqDerivation,
|
||||
version ? null,
|
||||
}:
|
||||
|
||||
mkCoqDerivation {
|
||||
pname = "coqutil";
|
||||
owner = "mit-plv";
|
||||
|
||||
inherit version;
|
||||
defaultVersion = with lib.versions; lib.switch coq.version [
|
||||
{ case = range "8.18" "8.20"; out = "0.0.6"; }
|
||||
{ case = range "8.17" "8.20"; out = "0.0.5"; }
|
||||
] null;
|
||||
|
||||
releaseRev = v: "v${v}";
|
||||
release."0.0.6".sha256 = "sha256-c/ddrj0ahuaj9Zu7YBqK7Q0ur+LK7Fgaa//nxQpQcm4=";
|
||||
release."0.0.5".sha256 = "sha256-vkZIAAr82GNuCGlCVRgSCj/nqIdD8FITBiX1a8fybqw=";
|
||||
|
||||
nativeBuildInputs = [ findutils ];
|
||||
|
||||
meta = {
|
||||
description = "Coq library for tactics, basic definitions, sets, maps";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ stepbrobd ];
|
||||
};
|
||||
}
|
@ -8,11 +8,11 @@
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mathgl";
|
||||
version = "8.0.1";
|
||||
version = "8.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mathgl/mathgl-${version}.tar.gz";
|
||||
sha256 = "sha256-yoS/lIDDntMRLpIMFs49jyiYaY9iiW86V3FBKGIqVao=";
|
||||
sha256 = "sha256-cWYJlWhKawooI/Z49sQ4q6ukdKEVJGzfX5sLRgq/ysE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -9,7 +9,6 @@
|
||||
setuptools,
|
||||
textwrap3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansiwrap";
|
||||
version = "0.8.4";
|
||||
@ -47,5 +46,7 @@ buildPythonPackage rec {
|
||||
changelog = "https://github.com/jonathaneunice/ansiwrap/blob/master/CHANGES.yml";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
@ -3,19 +3,20 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
requests,
|
||||
responses,
|
||||
pytestCheckHook,
|
||||
glibcLocalesUtf8,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bugzilla";
|
||||
version = "3.2.0";
|
||||
version = "3.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "python-${pname}";
|
||||
pname = "python_${pname}";
|
||||
inherit version;
|
||||
sha256 = "TvyM+il4N8nk6rIg4ZcXZxW9Ye4zzsLBsPJ5DweGA4c=";
|
||||
sha256 = "sha256-4YIgFx4DPrO6YAxNE5NZ0BqhrOwdrrxDCJEORQdj3kc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
@ -23,6 +24,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
glibcLocalesUtf8
|
||||
responses
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "extension-helpers";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "astropy";
|
||||
repo = "extension-helpers";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-pYCSLb6uuQ9ZtMZOQH0DxLlfgFv3tgH+AL35IN71cNI=";
|
||||
hash = "sha256-qneulhSYB2gYiCdgoU7Dqg1luLWhVouFVihcKeOA37E=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
let
|
||||
pname = "findpython";
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
@ -26,7 +26,7 @@ buildPythonPackage {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-VuUrQJqSvL1JXPmByFrPE387PlHMdptG66IZuxq3Uzw=";
|
||||
hash = "sha256-4MdbqfNaf5u0Qj6zG9FzWMzPFXYbaDcxdxkXeu/0ZyM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pdm-backend ];
|
||||
|
@ -1,30 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
docopt,
|
||||
fetchPypi,
|
||||
freezegun,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
selenium,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "httpserver";
|
||||
version = "1.1.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
buildInputs = [ docopt ];
|
||||
|
||||
# Tests pull in lots of other dependencies to emulate different web
|
||||
# drivers.
|
||||
doCheck = false;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1q62g324dvb0hqdwwrnj41sqr4d3ly78v9nc26rz1whj4pwdmhsv";
|
||||
hash = "sha256-W8Pa+CUS8vCzEcymjY6no5GMdSDSZs4bhmDtRsR4wuA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ docopt ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
freezegun
|
||||
selenium
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "httpserver" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests want driver for Firefox
|
||||
"tests/test_selenium.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Asyncio implementation of an HTTP server";
|
||||
mainProgram = "httpserver";
|
||||
homepage = "https://github.com/thomwiggers/httpserver";
|
||||
license = with lib.licenses; [ bsd3 ];
|
||||
maintainers = [ ];
|
||||
mainProgram = "httpserver";
|
||||
};
|
||||
}
|
||||
|
@ -29,14 +29,14 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "open-clip-torch";
|
||||
version = "2.27.0";
|
||||
version = "2.27.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mlfoundations";
|
||||
repo = "open_clip";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-1LdxgRl72fDYdM9tZKMnHTvAY5QsWYiQSDWEGrngaOo=";
|
||||
hash = "sha256-1wOxnpNEipA0N6o4b5JCsrAtBnGP7x+MPXmVIjfDmLI=";
|
||||
};
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
@ -25,17 +25,15 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyqt6";
|
||||
version = "6.7.0.dev2404081550";
|
||||
version = "6.8.0.dev2410141303";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
# This is dangerous, how can we get web archive to archive the URL?
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz"
|
||||
"http://web.archive.org/web/20240411124842if_/https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz"
|
||||
];
|
||||
hash = "sha256-H5qZ/rnruGh+UVSXLZyTSvjagmmli/iYq+7BaIzl1YQ=";
|
||||
url = "https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz";
|
||||
hash = "sha256-eHYqj22us07uFkErJD2d0y0wueZxtQTwTFW9cI7yoK4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -55,8 +53,11 @@ buildPythonPackage rec {
|
||||
verbose = true
|
||||
EOF
|
||||
|
||||
# pythonRelaxDeps doesn't work and the wanted versions are not released AFAIK
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'version = "${version}"' 'version = "${lib.versions.pad 3 version}"'
|
||||
--replace-fail 'version = "${version}"' 'version = "${lib.versions.pad 3 version}"' \
|
||||
--replace-fail "sip >=6.9, <7" "sip >=6.8.6, <7" \
|
||||
--replace-fail 'PyQt-builder >=1.17, <2' "PyQt-builder >=1.16, <2"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -18,15 +18,15 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pystac-client";
|
||||
version = "0.8.3";
|
||||
version = "0.8.4";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stac-utils";
|
||||
repo = "pystac-client";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tzfpvNtj+KkKjA75En+OwxYQWGzxHLACLkzWT2j/ThU=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-EetS0MD5DLBR+ht9YfD+oRdfHbVONuVHdSZj3FQ5Sm8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "replicate";
|
||||
version = "0.34.1";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "replicate";
|
||||
repo = "replicate-python";
|
||||
rev = version;
|
||||
hash = "sha256-DhmuGh0OASd4rBvizf1qx537j4RGs4eVe0jH1BrhZa4=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-q//RV4Y9k2KXXgZGfBF/XObxsBfAHE50oG+r/Vvu9BY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -2,13 +2,13 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonAtLeast,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# native dependencies
|
||||
taskwarrior2,
|
||||
distutils,
|
||||
|
||||
# dependencies
|
||||
kitchen,
|
||||
@ -24,9 +24,6 @@ buildPythonPackage rec {
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
# ModuleNotFoundError: No module named 'distutils'
|
||||
disabled = pythonAtLeast "3.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-EQm9+b3nqbMqUAejAsh4MD/2UYi2QiWsdKMomkxUi90=";
|
||||
@ -44,7 +41,10 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ taskwarrior2 ];
|
||||
buildInputs = [
|
||||
taskwarrior2
|
||||
distutils
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
kitchen
|
||||
|
@ -24,6 +24,6 @@ buildGoModule {
|
||||
mainProgram = "sqlc";
|
||||
homepage = "https://sqlc.dev/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.adisbladis ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "astyle";
|
||||
version = "3.5.2";
|
||||
version = "3.6.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-2wwKctQOZAwgHjnmRni2/jFvN+fvBfZ84rItVVwKbRI=";
|
||||
hash = "sha256-EO18j5dOzONcF3jxYW8EypPD07/BoBeqJROWBBtnDvw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -12,16 +12,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-duplicates";
|
||||
version = "0.6.0";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Keruspe";
|
||||
repo = "cargo-duplicates";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OwytBecRGizkDC2S92FKAy3/mc4Jg/NwaYIPahfiG6k=";
|
||||
hash = "sha256-VGxBmzMtev+lXGhV9pMefpgX6nPlzMaPbXq5LMdIvrE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-LsdzHCQ4uG6+dwiUoC36VPuqUf8oPlcMHxNgdkvYzu8=";
|
||||
cargoHash = "sha256-xkPvbC/ot4U3gca57pEEze0jaQhUAZV1MEX0E6E1BmE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
curl
|
||||
|
@ -2,14 +2,14 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "svd2rust";
|
||||
version = "0.33.4";
|
||||
version = "0.33.5";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-V7d/lVNL7J/ErBlJUf8btrukGC+KSvk3r9AAethFNyk=";
|
||||
hash = "sha256-wZfCk8jzTmltpmrp7QWU1uS5ct10iltNFdUCJvnrv98=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Wu/F4PU02hrmiL7OaKIP59CfDVWrU5cw60TYngqJYNg=";
|
||||
cargoHash = "sha256-5m3/5zwjDeDgPuUsTIknXwEMjQs0gtVoksQn4EdPnwM=";
|
||||
|
||||
# error: linker `aarch64-linux-gnu-gcc` not found
|
||||
postPatch = ''
|
||||
|
@ -26,7 +26,7 @@ rustPlatform.buildRustPackage {
|
||||
mainProgram = "systemfd";
|
||||
homepage = "https://github.com/mitsuhiko/systemfd";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.adisbladis ];
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
||||
|
@ -7,14 +7,14 @@
|
||||
}:
|
||||
mkKdeDerivation rec {
|
||||
pname = "mpvqt";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "libraries";
|
||||
repo = "mpvqt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-XHiCxH7dJxJamloM2SJbiFHDt8j4rVfv/M9PaBzvgM4=";
|
||||
hash = "sha256-baVTyz3sXfQC7NEO2VoN0bhXpgkKjclwrFN/CLsuoC0=";
|
||||
};
|
||||
|
||||
extraBuildInputs = [ qtdeclarative ];
|
||||
|
@ -1,14 +1,20 @@
|
||||
{ lib, fetchFromGitHub, xorg, libsForQt5, wrapQtAppsHook, python3 }:
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
xorg,
|
||||
wrapQtAppsHook,
|
||||
python3,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "lenovo-legion-app";
|
||||
version = "0.0.12";
|
||||
version = "0.0.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "johnfanv2";
|
||||
repo = "LenovoLegionLinux";
|
||||
rev = "v${version}-prerelease";
|
||||
hash = "sha256-BNrRv9EBmNINQbAw+BzVxKl/XoDgH1tsNZHJxfSpNoU=";
|
||||
rev = "e9c1d8157a7b25e4334d0b1d887338c670e39f6a";
|
||||
hash = "sha256-6JYOTDzz9/flyEDQo1UPjWT5+Cuea5fsdbdc6AooDxU=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/python/legion_linux";
|
||||
@ -16,22 +22,24 @@ python3.pkgs.buildPythonApplication rec {
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pyqt5
|
||||
pyqt6
|
||||
argcomplete
|
||||
pyyaml
|
||||
darkdetect
|
||||
xorg.libxcb
|
||||
libsForQt5.qtbase
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# only fixup application (legion-linux-gui), service (legiond) currently not installed so do not fixup
|
||||
# version
|
||||
substituteInPlace ./setup.cfg \
|
||||
--replace-fail "_VERSION" "${version}"
|
||||
substituteInPlace ../../extra/service/fancurve-set \
|
||||
--replace-fail "FOLDER=/etc/legion_linux/" "FOLDER=$out/share/legion_linux"
|
||||
|
||||
# /etc
|
||||
substituteInPlace ./legion_linux/legion.py \
|
||||
--replace-fail "/etc/legion_linux" "$out/share/legion_linux"
|
||||
|
||||
# /usr
|
||||
substituteInPlace ./legion_linux/legion_gui.desktop \
|
||||
--replace-fail "Icon=/usr/share/pixmaps/legion_logo.png" "Icon=legion_logo"
|
||||
'';
|
||||
@ -47,8 +55,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||
homepage = "https://github.com/johnfanv2/LenovoLegionLinux";
|
||||
license = lib.licenses.gpl2Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.ulrikstrid ];
|
||||
maintainers = with lib.maintainers; [
|
||||
ulrikstrid
|
||||
realsnick
|
||||
chn
|
||||
];
|
||||
mainProgram = "legion_gui";
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -2,18 +2,18 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "virtiofsd";
|
||||
version = "1.11.1";
|
||||
version = "1.12.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "virtio-fs";
|
||||
repo = "virtiofsd";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4GX+qqnrUuG6jsdnKU/67YOj0X8qyuPIQbPSkE3xTBo=";
|
||||
hash = "sha256-2+PiorzYHxShatFbfQCry1bjBNL65/TxEj9MmdKmqP0=";
|
||||
};
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
cargoHash = "sha256-41pgoX/nGLEbMDJvdZt2HvrVMZPXqH6SWgow7A3rTBY=";
|
||||
cargoHash = "sha256-hXQ/wDDDBV788SvZnYmjiPVrEGCPVusq0O+Uyupgfd0=";
|
||||
|
||||
LIBCAPNG_LIB_PATH = "${lib.getLib libcap_ng}/lib";
|
||||
LIBCAPNG_LINK_TYPE =
|
||||
|
@ -29,7 +29,7 @@ buildGoModule {
|
||||
homepage = "https://github.com/kahing/goofys";
|
||||
description = "High-performance, POSIX-ish Amazon S3 file system written in Go";
|
||||
license = [ lib.licenses.mit ];
|
||||
maintainers = [ lib.maintainers.adisbladis ];
|
||||
maintainers = [ ];
|
||||
broken = stdenv.hostPlatform.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042
|
||||
mainProgram = "goofys";
|
||||
};
|
||||
|
@ -1,13 +1,71 @@
|
||||
{ lib, stdenv, bzip2, zlib, autoconf, automake, cmake, help2man, texinfo, libtool, cppzmq, libarchive
|
||||
, avro-cpp, boost, zeromq, openssl, pam, libiodbc, libkrb5, gcc, libcxx, which, catch2, nanodbc, fmt
|
||||
, nlohmann_json, spdlog, curl }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
bzip2,
|
||||
zlib,
|
||||
autoconf,
|
||||
automake,
|
||||
cmake,
|
||||
help2man,
|
||||
texinfo,
|
||||
libtool,
|
||||
cppzmq,
|
||||
libarchive,
|
||||
avro-cpp,
|
||||
boost,
|
||||
zeromq,
|
||||
openssl,
|
||||
pam,
|
||||
libiodbc,
|
||||
libkrb5,
|
||||
gcc,
|
||||
libcxx,
|
||||
which,
|
||||
catch2,
|
||||
nanodbc,
|
||||
fmt,
|
||||
nlohmann_json,
|
||||
curl,
|
||||
spdlog_rods,
|
||||
bison,
|
||||
flex
|
||||
}:
|
||||
|
||||
# Common attributes of irods packages
|
||||
|
||||
{
|
||||
nativeBuildInputs = [ autoconf automake cmake help2man texinfo which gcc ];
|
||||
buildInputs = [ bzip2 zlib libtool cppzmq libarchive avro-cpp zeromq openssl pam libiodbc libkrb5 boost
|
||||
libcxx catch2 nanodbc fmt nlohmann_json spdlog curl ];
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
cmake
|
||||
help2man
|
||||
texinfo
|
||||
which
|
||||
gcc
|
||||
bison
|
||||
flex
|
||||
];
|
||||
buildInputs = [
|
||||
bzip2
|
||||
zlib
|
||||
libtool
|
||||
cppzmq
|
||||
libarchive
|
||||
avro-cpp
|
||||
zeromq
|
||||
openssl
|
||||
pam
|
||||
libiodbc
|
||||
libkrb5
|
||||
boost
|
||||
libcxx
|
||||
catch2
|
||||
nanodbc
|
||||
fmt
|
||||
nlohmann_json
|
||||
spdlog_rods
|
||||
curl
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DIRODS_EXTERNALS_FULLPATH_CLANG=${stdenv.cc}"
|
||||
@ -21,7 +79,7 @@
|
||||
"-DIRODS_EXTERNALS_FULLPATH_NANODBC=${nanodbc}"
|
||||
"-DIRODS_EXTERNALS_FULLPATH_FMT=${fmt}"
|
||||
"-DIRODS_EXTERNALS_FULLPATH_JSON=${nlohmann_json}"
|
||||
"-DIRODS_EXTERNALS_FULLPATH_SPDLOG=${spdlog}"
|
||||
"-DIRODS_EXTERNALS_FULLPATH_SPDLOG=${spdlog_rods}"
|
||||
"-DIRODS_LINUX_DISTRIBUTION_NAME=nix"
|
||||
"-DIRODS_LINUX_DISTRIBUTION_VERSION_MAJOR=1.0"
|
||||
"-DCPACK_GENERATOR=TGZ"
|
||||
|
@ -1,89 +1,173 @@
|
||||
{ lib, stdenv, fetchFromGitHub, bzip2, zlib, autoconf, automake, cmake, help2man, texinfo, libtool, cppzmq
|
||||
, libarchive, avro-cpp_llvm, boost, zeromq, openssl, pam, libiodbc, libkrb5, gcc, libcxx, which, catch2
|
||||
, nanodbc_llvm, fmt, nlohmann_json, spdlog, curl }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
bzip2,
|
||||
zlib,
|
||||
autoconf,
|
||||
automake,
|
||||
cmake,
|
||||
help2man,
|
||||
texinfo,
|
||||
libtool,
|
||||
cppzmq,
|
||||
libarchive,
|
||||
avro-cpp_llvm,
|
||||
boost,
|
||||
zeromq,
|
||||
openssl,
|
||||
pam,
|
||||
libiodbc,
|
||||
libkrb5,
|
||||
gcc,
|
||||
libcxx,
|
||||
which,
|
||||
catch2,
|
||||
nanodbc_llvm,
|
||||
fmt,
|
||||
nlohmann_json,
|
||||
spdlog_llvm,
|
||||
curl,
|
||||
bison,
|
||||
flex
|
||||
}:
|
||||
|
||||
let
|
||||
spdlog_rods = spdlog_llvm.overrideAttrs (attrs: {
|
||||
inherit stdenv;
|
||||
version = "1.10.0";
|
||||
src = attrs.src.override {
|
||||
rev = "v1.10.0";
|
||||
hash = "sha256-c6s27lQCXKx6S1FhZ/LiKh14GnXMhZtD1doltU4Avws=";
|
||||
};
|
||||
postPatch = ''
|
||||
substituteInPlace cmake/spdlog.pc.in \
|
||||
--replace-fail '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
|
||||
'';
|
||||
});
|
||||
in
|
||||
let
|
||||
avro-cpp = avro-cpp_llvm;
|
||||
nanodbc = nanodbc_llvm;
|
||||
|
||||
common = import ./common.nix {
|
||||
inherit lib stdenv bzip2 zlib autoconf automake cmake
|
||||
help2man texinfo libtool cppzmq libarchive
|
||||
zeromq openssl pam libiodbc libkrb5 gcc libcxx
|
||||
boost avro-cpp which catch2 nanodbc fmt nlohmann_json
|
||||
spdlog curl;
|
||||
inherit
|
||||
lib
|
||||
stdenv
|
||||
bzip2
|
||||
zlib
|
||||
autoconf
|
||||
automake
|
||||
cmake
|
||||
help2man
|
||||
texinfo
|
||||
libtool
|
||||
cppzmq
|
||||
libarchive
|
||||
zeromq
|
||||
openssl
|
||||
pam
|
||||
libiodbc
|
||||
libkrb5
|
||||
gcc
|
||||
libcxx
|
||||
boost
|
||||
avro-cpp
|
||||
which
|
||||
catch2
|
||||
nanodbc
|
||||
fmt
|
||||
nlohmann_json
|
||||
curl
|
||||
spdlog_rods
|
||||
bison
|
||||
flex
|
||||
;
|
||||
};
|
||||
in
|
||||
rec {
|
||||
|
||||
# irods: libs and server package
|
||||
irods = stdenv.mkDerivation (finalAttrs: common // {
|
||||
version = "4.3.1";
|
||||
pname = "irods";
|
||||
irods = stdenv.mkDerivation (
|
||||
finalAttrs:
|
||||
common
|
||||
// {
|
||||
version = "4.3.3";
|
||||
pname = "irods";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "irods";
|
||||
repo = "irods";
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-gWgNY8+zD2lRCV5ydOTF0qAgZ1dlQSQKxtdw+U235vg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "irods";
|
||||
repo = "irods";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-SmN2FzeoA2/gjiDfGs2oifOVj0mK2WdQCgiSdIlENfk=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
# fix build with recent llvm versions
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-deprecated-register -Wno-deprecated-declarations";
|
||||
# fix build with recent llvm versions
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-deprecated-register -Wno-deprecated-declarations";
|
||||
|
||||
cmakeFlags = common.cmakeFlags or [ ] ++ [
|
||||
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath,${placeholder "out"}/lib"
|
||||
"-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-rpath,${placeholder "out"}/lib"
|
||||
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath,${placeholder "out"}/lib"
|
||||
];
|
||||
cmakeFlags = common.cmakeFlags or [ ] ++ [
|
||||
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath,${placeholder "out"}/lib -D_GLIBCXX_USE_CXX11_ABI=0"
|
||||
"-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-rpath,${placeholder "out"}/lib"
|
||||
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath,${placeholder "out"}/lib"
|
||||
];
|
||||
|
||||
postPatch = common.postPatch + ''
|
||||
patchShebangs ./test
|
||||
substituteInPlace plugins/database/CMakeLists.txt --replace-fail "COMMAND cpp" "COMMAND ${gcc.cc}/bin/cpp"
|
||||
for file in unit_tests/cmake/test_config/*.cmake
|
||||
do
|
||||
substituteInPlace $file --replace-quiet "CATCH2}/include" "CATCH2}/include/catch2"
|
||||
done
|
||||
postPatch =
|
||||
common.postPatch
|
||||
+ ''
|
||||
patchShebangs ./test
|
||||
substituteInPlace plugins/database/CMakeLists.txt --replace-fail "COMMAND cpp" "COMMAND ${gcc.cc}/bin/cpp"
|
||||
for file in unit_tests/cmake/test_config/*.cmake
|
||||
do
|
||||
substituteInPlace $file --replace-quiet "CATCH2}/include" "CATCH2}/include/catch2"
|
||||
done
|
||||
|
||||
substituteInPlace server/auth/CMakeLists.txt --replace-fail SETUID ""
|
||||
'';
|
||||
|
||||
meta = common.meta // {
|
||||
longDescription = common.meta.longDescription + "This package provides the servers and libraries.";
|
||||
};
|
||||
});
|
||||
substituteInPlace server/auth/CMakeLists.txt --replace-fail SETUID ""
|
||||
'';
|
||||
|
||||
meta = common.meta // {
|
||||
longDescription = common.meta.longDescription + "This package provides the servers and libraries.";
|
||||
mainProgram = "irodsServer";
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
# icommands (CLI) package, depends on the irods package
|
||||
irods-icommands = stdenv.mkDerivation (finalAttrs: common // {
|
||||
version = "4.3.1";
|
||||
pname = "irods-icommands";
|
||||
irods-icommands = stdenv.mkDerivation (
|
||||
finalAttrs:
|
||||
common
|
||||
// {
|
||||
version = "4.3.3";
|
||||
pname = "irods-icommands";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "irods";
|
||||
repo = "irods_client_icommands";
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-BjBg13KrCGRLOtGnp23qXOLudLctvu2gJ7wxHFjM5Ug=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "irods";
|
||||
repo = "irods_client_icommands";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-cc0V6BztJk3njobWt27VeJNmQUXyH6aBJkvYIDFEzWY=";
|
||||
};
|
||||
|
||||
buildInputs = common.buildInputs ++ [ irods ];
|
||||
buildInputs = common.buildInputs ++ [ irods ];
|
||||
|
||||
postPatch = common.postPatch + ''
|
||||
patchShebangs ./bin
|
||||
'';
|
||||
postPatch =
|
||||
common.postPatch
|
||||
+ ''
|
||||
patchShebangs ./bin
|
||||
'';
|
||||
|
||||
cmakeFlags = common.cmakeFlags ++ [
|
||||
"-DCMAKE_INSTALL_PREFIX=${stdenv.out}"
|
||||
"-DIRODS_DIR=${irods}/lib/irods/cmake"
|
||||
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath,${irods}/lib"
|
||||
"-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-rpath,${irods}/lib"
|
||||
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath,${irods}/lib"
|
||||
];
|
||||
cmakeFlags = common.cmakeFlags ++ [
|
||||
"-DCMAKE_INSTALL_PREFIX=${stdenv.out}"
|
||||
"-DIRODS_DIR=${irods}/lib/irods/cmake"
|
||||
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath,${irods}/lib"
|
||||
"-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-rpath,${irods}/lib"
|
||||
"-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath,${irods}/lib"
|
||||
];
|
||||
|
||||
meta = common.meta // {
|
||||
description = common.meta.description + " CLI clients";
|
||||
longDescription = common.meta.longDescription + "This package provides the CLI clients, called 'icommands'.";
|
||||
};
|
||||
});
|
||||
meta = common.meta // {
|
||||
description = common.meta.description + " CLI clients";
|
||||
longDescription =
|
||||
common.meta.longDescription + "This package provides the CLI clients, called 'icommands'.";
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lokalise2-cli";
|
||||
version = "3.0.1";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lokalise";
|
||||
repo = "lokalise-cli-2-go";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-woRFrw51F9f+dGTkEPuN9ushGfEDwR59uqZIv78PLHE=";
|
||||
sha256 = "sha256-1pc3XBsBQr9xBFIVOWZnA4YlgFYwJJJyV05W67hXG8k=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-SDI36+35yFy7Fp+VrnQMyIDUY1kM2tylwdS3I9E2vyk=";
|
||||
vendorHash = "sha256-cN7YJDw5lOOngXJBeXa7V0Y/CjEydBMk3hvyfd0VL5I=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "stow";
|
||||
version = "2.4.0";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/stow/stow-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha256-p7rGc9qiRs9U/7SKET6t0gSmFWMOdrU7X2TYGidbd7M=";
|
||||
hash = "sha256-DYWoUTZ355I2l7zkLNuzPStXr5FaveHQZx566Asu8LQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perlPackages.perl ];
|
||||
|
@ -27,6 +27,6 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/google/trillian";
|
||||
description = "Transparent, highly scalable and cryptographically verifiable data store";
|
||||
license = [ licenses.asl20 ];
|
||||
maintainers = [ maintainers.adisbladis ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "goimapnotify";
|
||||
version = "2.3.15";
|
||||
version = "2.4";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "shackra";
|
||||
repo = "goimapnotify";
|
||||
rev = version;
|
||||
hash = "sha256-da2Q+glDVWSf574pks6UzvQyzKAU+81ypy5H968Y7HE=";
|
||||
hash = "sha256-ieaj97CjoSc/qt/JebATHmiJ7RIvNUpFZjEM6mqG9Rk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-DphGe9jbKo1aIfpF5kRYNSn/uIYHaRMrygda5t46svw=";
|
||||
vendorHash = "sha256-rWPXQj0XFS/Mv9ylGv09vol0kkRDNaOAEgnJvSWMvoI=";
|
||||
|
||||
postPatch = ''
|
||||
for f in command.go command_test.go; do
|
||||
|
@ -18,7 +18,7 @@
|
||||
ln -s nom "$out/bin/nom-build"
|
||||
ln -s nom "$out/bin/nom-shell"
|
||||
chmod a+x $out/bin/nom-build
|
||||
installShellCompletion --zsh --name _nom-build completions/completion.zsh
|
||||
installShellCompletion completions/*
|
||||
'';
|
||||
};
|
||||
raw-pkg = haskellPackages.callPackage ./generated-package.nix {};
|
||||
|
@ -9,10 +9,10 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "nix-output-monitor";
|
||||
version = "2.1.3";
|
||||
version = "2.1.4";
|
||||
src = fetchzip {
|
||||
url = "https://code.maralorn.de/maralorn/nix-output-monitor/archive/v2.1.3.tar.gz";
|
||||
sha256 = "1xm40pp9lqj2hlwk3ds9zyjd4yqsis2a2ac5kn19z60glxvaijvx";
|
||||
url = "https://code.maralorn.de/maralorn/nix-output-monitor/archive/v2.1.4.tar.gz";
|
||||
sha256 = "0ghpbq6a1cmh0xy42ipg8l1qi4pjdjn0df5am26587w396r81n5r";
|
||||
};
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
@ -36,7 +36,7 @@ mkDerivation {
|
||||
strict strict-types terminal-size text time transformers
|
||||
typed-process word8
|
||||
];
|
||||
homepage = "https://github.com/maralorn/nix-output-monitor";
|
||||
homepage = "https://code.maralorn.de/maralorn/nix-output-monitor";
|
||||
description = "Processes output of Nix commands to show helpful and pretty information";
|
||||
license = lib.licenses.agpl3Plus;
|
||||
mainProgram = "nom";
|
||||
|
@ -2187,8 +2187,6 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
git-branchstack = python3.pkgs.callPackage ../applications/version-management/git-branchstack { };
|
||||
|
||||
git-bug = callPackage ../applications/version-management/git-bug { };
|
||||
|
||||
git-bug-migration = callPackage ../applications/version-management/git-bug-migration { };
|
||||
@ -8593,6 +8591,7 @@ with pkgs;
|
||||
fmt = fmt_8.override { inherit stdenv; };
|
||||
nanodbc_llvm = nanodbc.override { inherit stdenv; };
|
||||
avro-cpp_llvm = avro-cpp.override { inherit stdenv boost; };
|
||||
spdlog_llvm = spdlog.override { inherit stdenv fmt; };
|
||||
})
|
||||
irods
|
||||
irods-icommands;
|
||||
|
@ -57,6 +57,7 @@ let
|
||||
coqprime = callPackage ../development/coq-modules/coqprime {};
|
||||
coqtail-math = callPackage ../development/coq-modules/coqtail-math {};
|
||||
coquelicot = callPackage ../development/coq-modules/coquelicot {};
|
||||
coqutil = callPackage ../development/coq-modules/coqutil {};
|
||||
corn = callPackage ../development/coq-modules/corn {};
|
||||
deriving = callPackage ../development/coq-modules/deriving {};
|
||||
dpdgraph = callPackage ../development/coq-modules/dpdgraph {};
|
||||
|
Loading…
Reference in New Issue
Block a user