Merge master into staging-next
This commit is contained in:
commit
8ff2070f8a
|
@ -2,8 +2,8 @@ name: "Check cherry-picks"
|
|||
on:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- 'release-*'
|
||||
- 'staging-*'
|
||||
- 'release-**'
|
||||
- 'staging-**'
|
||||
|
||||
permissions: {}
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ let
|
|||
canCleanSource pathIsGitRepo;
|
||||
inherit (self.modules) evalModules setDefaultModuleLocation
|
||||
unifyModuleSyntax applyModuleArgsIfFunction mergeModules
|
||||
mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions
|
||||
mergeModules' mergeOptionDecls mergeDefinitions
|
||||
pushDownProperties dischargeProperties filterOverrides
|
||||
sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride
|
||||
mkOptionDefault mkDefault mkImageMediaOverride mkForce mkVMOverride
|
||||
|
@ -138,6 +138,7 @@ let
|
|||
mkMergedOptionModule mkChangedOptionModule
|
||||
mkAliasOptionModule mkDerivedConfig doRename
|
||||
mkAliasOptionModuleMD;
|
||||
evalOptionValue = lib.warn "External use of `lib.evalOptionValue` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/." self.modules.evalOptionValue;
|
||||
inherit (self.options) isOption mkEnableOption mkSinkUndeclaredOptions
|
||||
mergeDefaultOption mergeOneOption mergeEqualOption mergeUniqueOption
|
||||
getValues getFiles
|
||||
|
|
|
@ -1378,7 +1378,6 @@ let
|
|||
inherit
|
||||
applyModuleArgsIfFunction
|
||||
dischargeProperties
|
||||
evalOptionValue
|
||||
mergeModules
|
||||
mergeModules'
|
||||
pushDownProperties
|
||||
|
@ -1399,6 +1398,7 @@ private //
|
|||
defaultPriority
|
||||
doRename
|
||||
evalModules
|
||||
evalOptionValue # for use by lib.types
|
||||
filterOverrides
|
||||
filterOverrides'
|
||||
fixMergeModules
|
||||
|
|
|
@ -103,6 +103,18 @@ checkConfigError 'The option .sub.wrong2. does not exist. Definition values:' co
|
|||
checkConfigError '.*This can happen if you e.g. declared your options in .types.submodule.' config.sub ./error-mkOption-in-submodule-config.nix
|
||||
checkConfigError '.*A definition for option .bad. is not of type .non-empty .list of .submodule...\.' config.bad ./error-nonEmptyListOf-submodule.nix
|
||||
|
||||
# types.attrTag
|
||||
checkConfigOutput '^true$' config.okChecks ./types-attrTag.nix
|
||||
checkConfigError 'A definition for option .intStrings\.syntaxError. is not of type .attribute-tagged union' config.intStrings.syntaxError ./types-attrTag.nix
|
||||
checkConfigError 'A definition for option .intStrings\.syntaxError2. is not of type .attribute-tagged union' config.intStrings.syntaxError2 ./types-attrTag.nix
|
||||
checkConfigError 'A definition for option .intStrings\.syntaxError3. is not of type .attribute-tagged union' config.intStrings.syntaxError3 ./types-attrTag.nix
|
||||
checkConfigError 'A definition for option .intStrings\.syntaxError4. is not of type .attribute-tagged union' config.intStrings.syntaxError4 ./types-attrTag.nix
|
||||
checkConfigError 'A definition for option .intStrings\.mergeError. is not of type .attribute-tagged union' config.intStrings.mergeError ./types-attrTag.nix
|
||||
checkConfigError 'A definition for option .intStrings\.badTagError. is not of type .attribute-tagged union' config.intStrings.badTagError ./types-attrTag.nix
|
||||
checkConfigError 'A definition for option .intStrings\.badTagTypeError\.left. is not of type .signed integer.' config.intStrings.badTagTypeError.left ./types-attrTag.nix
|
||||
checkConfigError 'A definition for option .nested\.right\.left. is not of type .signed integer.' config.nested.right.left ./types-attrTag.nix
|
||||
checkConfigError 'In attrTag, each tag value must be an option, but tag int was a bare type, not wrapped in mkOption.' config.opt.int ./types-attrTag-wrong-decl.nix
|
||||
|
||||
# types.pathInStore
|
||||
checkConfigOutput '".*/store/0lz9p8xhf89kb1c1kk6jxrzskaiygnlh-bash-5.2-p15.drv"' config.pathInStore.ok1 ./types.nix
|
||||
checkConfigOutput '".*/store/0fb3ykw9r5hpayd05sr0cizwadzq1d8q-bash-5.2-p15"' config.pathInStore.ok2 ./types.nix
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
A basic documentation generating module.
|
||||
Declares and defines a `docs` option, suitable for making assertions about
|
||||
the extraction "phase" of documentation generation.
|
||||
*/
|
||||
{ lib, options, ... }:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
head
|
||||
length
|
||||
mkOption
|
||||
types
|
||||
;
|
||||
|
||||
traceListSeq = l: v: lib.foldl' (a: b: lib.traceSeq b a) v l;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
options.docs = mkOption {
|
||||
type = types.lazyAttrsOf types.raw;
|
||||
description = ''
|
||||
All options to be rendered, without any visibility filtering applied.
|
||||
'';
|
||||
};
|
||||
config.docs =
|
||||
lib.zipAttrsWith
|
||||
(name: values:
|
||||
if length values > 1 then
|
||||
traceListSeq values
|
||||
abort "Multiple options with the same name: ${name}"
|
||||
else
|
||||
assert length values == 1;
|
||||
head values
|
||||
)
|
||||
(map
|
||||
(opt: { ${opt.name} = opt; })
|
||||
(lib.optionAttrSetToDocList options)
|
||||
);
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
inherit (lib) types mkOption;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
opt = mkOption {
|
||||
type = types.attrTag {
|
||||
int = types.int;
|
||||
};
|
||||
default = { int = 1; };
|
||||
};
|
||||
};
|
||||
}
|
|
@ -0,0 +1,135 @@
|
|||
{ lib, config, options, ... }:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
forceDeep = x: builtins.deepSeq x x;
|
||||
mergedSubOption = (options.merged.type.getSubOptions options.merged.loc).extensible."merged.<name>";
|
||||
in
|
||||
{
|
||||
options = {
|
||||
intStrings = mkOption {
|
||||
type = types.attrsOf
|
||||
(types.attrTag {
|
||||
left = mkOption {
|
||||
type = types.int;
|
||||
};
|
||||
right = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
});
|
||||
};
|
||||
nested = mkOption {
|
||||
type = types.attrTag {
|
||||
left = mkOption {
|
||||
type = types.int;
|
||||
};
|
||||
right = mkOption {
|
||||
type = types.attrTag {
|
||||
left = mkOption {
|
||||
type = types.int;
|
||||
};
|
||||
right = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
merged = mkOption {
|
||||
type = types.attrsOf (
|
||||
types.attrTag {
|
||||
yay = mkOption {
|
||||
type = types.int;
|
||||
};
|
||||
extensible = mkOption {
|
||||
type = types.enum [ "foo" ];
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
submodules = mkOption {
|
||||
type = types.attrsOf (
|
||||
types.attrTag {
|
||||
foo = mkOption {
|
||||
type = types.submodule {
|
||||
options = {
|
||||
bar = mkOption {
|
||||
type = types.int;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
qux = mkOption {
|
||||
type = types.str;
|
||||
description = "A qux for when you don't want a foo";
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
okChecks = mkOption {};
|
||||
};
|
||||
imports = [
|
||||
./docs.nix
|
||||
{
|
||||
options.merged = mkOption {
|
||||
type = types.attrsOf (
|
||||
types.attrTag {
|
||||
nay = mkOption {
|
||||
type = types.bool;
|
||||
};
|
||||
extensible = mkOption {
|
||||
type = types.enum [ "bar" ];
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
];
|
||||
config = {
|
||||
intStrings.syntaxError = 1;
|
||||
intStrings.syntaxError2 = {};
|
||||
intStrings.syntaxError3 = { a = true; b = true; };
|
||||
intStrings.syntaxError4 = lib.mkMerge [ { a = true; } { b = true; } ];
|
||||
intStrings.mergeError = lib.mkMerge [ { int = throw "do not eval"; } { string = throw "do not eval"; } ];
|
||||
intStrings.badTagError.rite = throw "do not eval";
|
||||
intStrings.badTagTypeError.left = "bad";
|
||||
intStrings.numberOne.left = 1;
|
||||
intStrings.hello.right = "hello world";
|
||||
nested.right.left = "not a number";
|
||||
merged.negative.nay = false;
|
||||
merged.positive.yay = 100;
|
||||
merged.extensi-foo.extensible = "foo";
|
||||
merged.extensi-bar.extensible = "bar";
|
||||
okChecks = builtins.addErrorContext "while evaluating the assertions" (
|
||||
assert config.intStrings.hello == { right = "hello world"; };
|
||||
assert config.intStrings.numberOne == { left = 1; };
|
||||
assert config.merged.negative == { nay = false; };
|
||||
assert config.merged.positive == { yay = 100; };
|
||||
assert config.merged.extensi-foo == { extensible = "foo"; };
|
||||
assert config.merged.extensi-bar == { extensible = "bar"; };
|
||||
assert config.docs."submodules.<name>.foo.bar".type == "signed integer";
|
||||
assert config.docs."submodules.<name>.qux".type == "string";
|
||||
assert config.docs."submodules.<name>.qux".declarations == [ __curPos.file ];
|
||||
assert config.docs."submodules.<name>.qux".loc == [ "submodules" "<name>" "qux" ];
|
||||
assert config.docs."submodules.<name>.qux".name == "submodules.<name>.qux";
|
||||
assert config.docs."submodules.<name>.qux".description == "A qux for when you don't want a foo";
|
||||
assert config.docs."submodules.<name>.qux".readOnly == false;
|
||||
assert config.docs."submodules.<name>.qux".visible == true;
|
||||
# Not available (yet?)
|
||||
# assert config.docs."submodules.<name>.qux".declarationsWithPositions == [ ... ];
|
||||
assert options.submodules.declarations == [ __curPos.file ];
|
||||
assert lib.length options.submodules.declarationPositions == 1;
|
||||
assert (lib.head options.submodules.declarationPositions).file == __curPos.file;
|
||||
assert options.merged.declarations == [ __curPos.file __curPos.file ];
|
||||
assert lib.length options.merged.declarationPositions == 2;
|
||||
assert (lib.elemAt options.merged.declarationPositions 0).file == __curPos.file;
|
||||
assert (lib.elemAt options.merged.declarationPositions 1).file == __curPos.file;
|
||||
assert (lib.elemAt options.merged.declarationPositions 0).line != (lib.elemAt options.merged.declarationPositions 1).line;
|
||||
assert mergedSubOption.declarations == [ __curPos.file __curPos.file ];
|
||||
assert lib.length mergedSubOption.declarationPositions == 2;
|
||||
assert (lib.elemAt mergedSubOption.declarationPositions 0).file == __curPos.file;
|
||||
assert (lib.elemAt mergedSubOption.declarationPositions 1).file == __curPos.file;
|
||||
assert (lib.elemAt mergedSubOption.declarationPositions 0).line != (lib.elemAt mergedSubOption.declarationPositions 1).line;
|
||||
assert lib.length config.docs."merged.<name>.extensible".declarations == 2;
|
||||
true);
|
||||
};
|
||||
}
|
102
lib/types.nix
102
lib/types.nix
|
@ -15,6 +15,7 @@ let
|
|||
isList
|
||||
isString
|
||||
isStorePath
|
||||
throwIf
|
||||
toDerivation
|
||||
toList
|
||||
;
|
||||
|
@ -65,6 +66,11 @@ let
|
|||
fixupOptionType
|
||||
mergeOptionDecls
|
||||
;
|
||||
|
||||
inAttrPosSuffix = v: name:
|
||||
let pos = builtins.unsafeGetAttrPos name v; in
|
||||
if pos == null then "" else " at ${pos.file}:${toString pos.line}:${toString pos.column}";
|
||||
|
||||
outer_types =
|
||||
rec {
|
||||
__attrsFailEvaluation = true;
|
||||
|
@ -152,7 +158,7 @@ rec {
|
|||
# If it doesn't, this should be {}
|
||||
# This may be used when a value is required for `mkIf false`. This allows the extra laziness in e.g. `lazyAttrsOf`.
|
||||
emptyValue ? {}
|
||||
, # Return a flat list of sub-options. Used to generate
|
||||
, # Return a flat attrset of sub-options. Used to generate
|
||||
# documentation.
|
||||
getSubOptions ? prefix: {}
|
||||
, # List of modules if any, or null if none.
|
||||
|
@ -623,6 +629,100 @@ rec {
|
|||
nestedTypes.elemType = elemType;
|
||||
};
|
||||
|
||||
attrTag = tags:
|
||||
let tags_ = tags; in
|
||||
let
|
||||
tags =
|
||||
mapAttrs
|
||||
(n: opt:
|
||||
builtins.addErrorContext "while checking that attrTag tag ${lib.strings.escapeNixIdentifier n} is an option with a type${inAttrPosSuffix tags_ n}" (
|
||||
throwIf (opt._type or null != "option")
|
||||
"In attrTag, each tag value must be an option, but tag ${lib.strings.escapeNixIdentifier n} ${
|
||||
if opt?_type then
|
||||
if opt._type == "option-type"
|
||||
then "was a bare type, not wrapped in mkOption."
|
||||
else "was of type ${lib.strings.escapeNixString opt._type}."
|
||||
else "was not."}"
|
||||
opt // {
|
||||
declarations = opt.declarations or (
|
||||
let pos = builtins.unsafeGetAttrPos n tags_;
|
||||
in if pos == null then [] else [ pos.file ]
|
||||
);
|
||||
declarationPositions = opt.declarationPositions or (
|
||||
let pos = builtins.unsafeGetAttrPos n tags_;
|
||||
in if pos == null then [] else [ pos ]
|
||||
);
|
||||
}
|
||||
))
|
||||
tags_;
|
||||
choicesStr = concatMapStringsSep ", " lib.strings.escapeNixIdentifier (attrNames tags);
|
||||
in
|
||||
mkOptionType {
|
||||
name = "attrTag";
|
||||
description = "attribute-tagged union";
|
||||
descriptionClass = "noun";
|
||||
getSubOptions = prefix:
|
||||
mapAttrs
|
||||
(tagName: tagOption: {
|
||||
"${lib.showOption prefix}" =
|
||||
tagOption // {
|
||||
loc = prefix ++ [ tagName ];
|
||||
};
|
||||
})
|
||||
tags;
|
||||
check = v: isAttrs v && length (attrNames v) == 1 && tags?${head (attrNames v)};
|
||||
merge = loc: defs:
|
||||
let
|
||||
choice = head (attrNames (head defs).value);
|
||||
checkedValueDefs = map
|
||||
(def:
|
||||
assert (length (attrNames def.value)) == 1;
|
||||
if (head (attrNames def.value)) != choice
|
||||
then throw "The option `${showOption loc}` is defined both as `${choice}` and `${head (attrNames def.value)}`, in ${showFiles (getFiles defs)}."
|
||||
else { inherit (def) file; value = def.value.${choice}; })
|
||||
defs;
|
||||
in
|
||||
if tags?${choice}
|
||||
then
|
||||
{ ${choice} =
|
||||
(lib.modules.evalOptionValue
|
||||
(loc ++ [choice])
|
||||
tags.${choice}
|
||||
checkedValueDefs
|
||||
).value;
|
||||
}
|
||||
else throw "The option `${showOption loc}` is defined as ${lib.strings.escapeNixIdentifier choice}, but ${lib.strings.escapeNixIdentifier choice} is not among the valid choices (${choicesStr}). Value ${choice} was defined in ${showFiles (getFiles defs)}.";
|
||||
nestedTypes = tags;
|
||||
functor = defaultFunctor "attrTag" // {
|
||||
type = { tags, ... }: types.attrTag tags;
|
||||
payload = { inherit tags; };
|
||||
binOp =
|
||||
let
|
||||
# Add metadata in the format that submodules work with
|
||||
wrapOptionDecl =
|
||||
option: { options = option; _file = "<attrTag {...}>"; pos = null; };
|
||||
in
|
||||
a: b: {
|
||||
tags = a.tags // b.tags //
|
||||
mapAttrs
|
||||
(tagName: bOpt:
|
||||
lib.mergeOptionDecls
|
||||
# FIXME: loc is not accurate; should include prefix
|
||||
# Fortunately, it's only used for error messages, where a "relative" location is kinda ok.
|
||||
# It is also returned though, but use of the attribute seems rare?
|
||||
[tagName]
|
||||
[ (wrapOptionDecl a.tags.${tagName}) (wrapOptionDecl bOpt) ]
|
||||
// {
|
||||
# mergeOptionDecls is not idempotent in these attrs:
|
||||
declarations = a.tags.${tagName}.declarations ++ bOpt.declarations;
|
||||
declarationPositions = a.tags.${tagName}.declarationPositions ++ bOpt.declarationPositions;
|
||||
}
|
||||
)
|
||||
(builtins.intersectAttrs a.tags b.tags);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
uniq = unique { message = ""; };
|
||||
|
||||
unique = { message }: type: mkOptionType rec {
|
||||
|
|
|
@ -42,6 +42,9 @@ merging is handled.
|
|||
: One element of the list *`l`*, e.g. `types.enum [ "left" "right" ]`.
|
||||
Multiple definitions cannot be merged.
|
||||
|
||||
If you want to pair these values with more information, possibly of
|
||||
distinct types, consider using a [sum type](#sec-option-types-sums).
|
||||
|
||||
`types.anything`
|
||||
|
||||
: A type that accepts any value and recursively merges attribute sets
|
||||
|
@ -279,6 +282,84 @@ Submodules are detailed in [Submodule](#section-option-types-submodule).
|
|||
more convenient and discoverable than expecting the module user to
|
||||
type-merge with the `attrsOf submodule` option.
|
||||
|
||||
## Union types {#sec-option-types-unions}
|
||||
|
||||
A union of types is a type such that a value is valid when it is valid for at least one of those types.
|
||||
|
||||
If some values are instances of more than one of the types, it is not possible to distinguish which type they are meant to be instances of. If that's needed, consider using a [sum type](#sec-option-types-sums).
|
||||
|
||||
`types.either` *`t1 t2`*
|
||||
|
||||
: Type *`t1`* or type *`t2`*, e.g. `with types; either int str`.
|
||||
Multiple definitions cannot be merged.
|
||||
|
||||
`types.oneOf` \[ *`t1 t2`* ... \]
|
||||
|
||||
: Type *`t1`* or type *`t2`* and so forth, e.g.
|
||||
`with types; oneOf [ int str bool ]`. Multiple definitions cannot be
|
||||
merged.
|
||||
|
||||
`types.nullOr` *`t`*
|
||||
|
||||
: `null` or type *`t`*. Multiple definitions are merged according to
|
||||
type *`t`*.
|
||||
|
||||
|
||||
## Sum types {#sec-option-types-sums}
|
||||
|
||||
A sum type can be thought of, conceptually, as a *`types.enum`* where each valid item is paired with at least a type, through some value syntax.
|
||||
Nix does not have a built-in syntax for this pairing of a label and a type or value, so sum types may be represented in multiple ways.
|
||||
|
||||
If the you're interested in can be distinguished without a label, you may simplify your value syntax with a [union type](#sec-option-types-unions) instead.
|
||||
|
||||
`types.attrTag` *`{ attr1 = option1; attr2 = option2; ... }`*
|
||||
|
||||
: An attribute set containing one attribute, whose name must be picked from
|
||||
the attribute set (`attr1`, etc) and whose value consists of definitions that are valid for the corresponding option (`option1`, etc).
|
||||
|
||||
This type appears in the documentation as _attribute-tagged union_.
|
||||
|
||||
Example:
|
||||
|
||||
```nix
|
||||
{ lib, ... }:
|
||||
let inherit (lib) type mkOption;
|
||||
in {
|
||||
options.toyRouter.rules = mkOption {
|
||||
description = ''
|
||||
Rules for a fictional packet routing service.
|
||||
'';
|
||||
type = types.attrsOf (
|
||||
types.attrTag {
|
||||
bounce = mkOption {
|
||||
description = "Send back a packet explaining why it wasn't forwarded.";
|
||||
type = types.submodule {
|
||||
options.errorMessage = mkOption { … };
|
||||
};
|
||||
};
|
||||
forward = mkOption {
|
||||
description = "Forward the packet.";
|
||||
type = types.submodule {
|
||||
options.destination = mkOption { … };
|
||||
};
|
||||
};
|
||||
ignore = types.mkOption {
|
||||
description = "Drop the packet without sending anything back.";
|
||||
type = types.submodule {};
|
||||
};
|
||||
});
|
||||
};
|
||||
config.toyRouter.rules = {
|
||||
http = {
|
||||
bounce = {
|
||||
errorMessage = "Unencrypted HTTP is banned. You must always use https://.";
|
||||
};
|
||||
};
|
||||
ssh = { drop = {}; };
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Composed types {#sec-option-types-composed}
|
||||
|
||||
Composed types are types that take a type as parameter. `listOf
|
||||
|
@ -318,11 +399,6 @@ Composed types are types that take a type as parameter. `listOf
|
|||
returned instead for the same `mkIf false` definition.
|
||||
:::
|
||||
|
||||
`types.nullOr` *`t`*
|
||||
|
||||
: `null` or type *`t`*. Multiple definitions are merged according to
|
||||
type *`t`*.
|
||||
|
||||
`types.uniq` *`t`*
|
||||
|
||||
: Ensures that type *`t`* cannot be merged. It is used to ensure option
|
||||
|
@ -334,17 +410,6 @@ Composed types are types that take a type as parameter. `listOf
|
|||
the line `The option <option path> is defined multiple times.` and before
|
||||
a list of definition locations.
|
||||
|
||||
`types.either` *`t1 t2`*
|
||||
|
||||
: Type *`t1`* or type *`t2`*, e.g. `with types; either int str`.
|
||||
Multiple definitions cannot be merged.
|
||||
|
||||
`types.oneOf` \[ *`t1 t2`* ... \]
|
||||
|
||||
: Type *`t1`* or type *`t2`* and so forth, e.g.
|
||||
`with types; oneOf [ int str bool ]`. Multiple definitions cannot be
|
||||
merged.
|
||||
|
||||
`types.coercedTo` *`from f to`*
|
||||
|
||||
: Type *`to`* or type *`from`* which will be coerced to type *`to`* using
|
||||
|
|
|
@ -104,9 +104,12 @@ in
|
|||
default = { };
|
||||
description = lib.mdDoc ''
|
||||
logrotate freeform settings: each attribute here will define its own section,
|
||||
ordered by priority, which can either define files to rotate with their settings
|
||||
ordered by {option}`services.logrotate.settings.<name>.priority`,
|
||||
which can either define files to rotate with their settings
|
||||
or settings common to all further files settings.
|
||||
Refer to <https://linux.die.net/man/8/logrotate> for details.
|
||||
All attribute names not explicitly defined as sub-options here are passed through
|
||||
as logrotate config directives,
|
||||
refer to <https://linux.die.net/man/8/logrotate> for details.
|
||||
'';
|
||||
example = literalExpression ''
|
||||
{
|
||||
|
@ -125,6 +128,14 @@ in
|
|||
"/var/log/second.log"
|
||||
];
|
||||
};
|
||||
# specify custom order of sections
|
||||
"/var/log/myservice/*.log" = {
|
||||
# ensure lower priority
|
||||
priority = 110;
|
||||
postrotate = '''
|
||||
systemctl reload myservice
|
||||
''';
|
||||
};
|
||||
};
|
||||
'';
|
||||
type = types.attrsOf (types.submodule ({ name, ... }: {
|
||||
|
|
|
@ -260,6 +260,12 @@ in {
|
|||
description = lib.mdDoc "Treat outputs as connected even if their lids are closed";
|
||||
};
|
||||
|
||||
matchEdid = mkOption {
|
||||
default = false;
|
||||
type = types.bool;
|
||||
description = lib.mdDoc "Match displays based on edid instead of name";
|
||||
};
|
||||
|
||||
hooks = mkOption {
|
||||
type = hooksModule;
|
||||
description = lib.mdDoc "Global hook scripts";
|
||||
|
@ -351,7 +357,8 @@ in {
|
|||
--batch \
|
||||
--change \
|
||||
--default ${cfg.defaultTarget} \
|
||||
${optionalString cfg.ignoreLid "--ignore-lid"}
|
||||
${optionalString cfg.ignoreLid "--ignore-lid"} \
|
||||
${optionalString cfg.matchEdid "--match-edid"}
|
||||
'';
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = false;
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ft2-clone";
|
||||
version = "1.79.2";
|
||||
version = "1.80";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "8bitbubsy";
|
||||
repo = "ft2-clone";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/RZXtSjJ0nRtlMreT4M/IYQpdv/UXjVJaHMld9wwaUw=";
|
||||
hash = "sha256-Zm/HJasZ6iF1wWOzpViQVutFBjv/qbeWkUJOGAbbEYw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
|
@ -72,7 +72,7 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
|
|||
tmp=$(mktemp)
|
||||
curl -sLo $tmp $(echo ${(import ../mktplcExtRefToFetchArgs.nix mktplcRef).url} | sed "s|${mktplcRef.version}|$version|")
|
||||
hash=$(nix hash file --type sha256 --base32 --sri $tmp)
|
||||
sed -i -e "s|${mktplcRef.hash}|$hash|" -e "s|${mktplcRef.version}|$version|" pkgs/applications/editors/vscode/extensions/python/default.nix
|
||||
sed -i -e "s|${mktplcRef.hash}|$hash|" -e "s|${mktplcRef.version}|$version|" pkgs/applications/editors/vscode/extensions/ms-python.python/default.nix
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
|
@ -15,17 +15,17 @@
|
|||
|
||||
buildGoModule rec {
|
||||
inherit pname;
|
||||
version = "2.6.4";
|
||||
version = "2.6.5";
|
||||
tags = lib.optionals enableGateway [ "gateway" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kumahq";
|
||||
repo = "kuma";
|
||||
rev = version;
|
||||
hash = "sha256-SkZXrYw6Svd9RAu8CI+p+6qm2OHhEjpNiD/Xvse9jVU=";
|
||||
hash = "sha256-gZxlbapEYrp02YSvEYBtlbRT/F0ijoF76CfZFzBbsAI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-otrm8avM35/8WqjSO8V8hMAzsh51unyrMVDv4321xoY=";
|
||||
vendorHash = "sha256-kqC6CUezPt3Uj9zuHnQYbbEP564Ki4UYmqfZedUBO38=";
|
||||
|
||||
# no test files
|
||||
doCheck = false;
|
||||
|
|
|
@ -13,16 +13,16 @@ let
|
|||
common = { stname, target, postInstall ? "" }:
|
||||
buildGoModule rec {
|
||||
pname = stname;
|
||||
version = "1.27.5";
|
||||
version = "1.27.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "syncthing";
|
||||
repo = "syncthing";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Fcsa6xE0i1iXFZ76L57OKKxDJ9stw6WnJL3PQOTr/QQ=";
|
||||
hash = "sha256-BZAje6dA3wmJ6feHWIYPPYTA3sp1WGwl4MjUJS7iZCo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-CSI2Mnu3Da99cNE2s6HadTyxFVIbhXLOy3aykij1GLo=";
|
||||
vendorHash = "sha256-xVSSFFTqU7jww8YTeXKfa3096c2FmEgkcXvuqFHb12E=";
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isDarwin [
|
||||
# Recent versions of macOS seem to require binaries to be signed when
|
||||
|
|
|
@ -21,13 +21,13 @@ with lib;
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "tryton";
|
||||
version = "7.0.7";
|
||||
version = "7.0.8";
|
||||
|
||||
disabled = !python3Packages.isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-NODeDEgmf/nSKrM+RxAUsUwsbVQT7OSDrTOGVBwOzpw=";
|
||||
sha256 = "sha256-e3WNDB6P7kapAfzlvbJ1/6LcyH7Fl6GKCK/hri460pQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -13,14 +13,14 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pijul";
|
||||
version = "1.0.0-beta.8";
|
||||
version = "1.0.0-beta.9";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit version pname;
|
||||
hash = "sha256-BQic+E+SOfZYHJcYMaUmfjlIfop0YcVcASSjtnRtwD4=";
|
||||
hash = "sha256-jy0mzgLw9iWuoWe2ictMTL3cHnjJ5kzs6TAK+pdm28g=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-D5P9pizerJiZK4UhCKEY1DXvaBMiWBXGu6Azlv6AjQA=";
|
||||
cargoHash = "sha256-iXGvb4qmZK7Sjbf/Jkyzj+nhpZFV3ngjtJfz6x/8z2s=";
|
||||
|
||||
doCheck = false;
|
||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||
|
|
|
@ -5,18 +5,20 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "crosvm";
|
||||
version = "122.1";
|
||||
version = "123.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
|
||||
rev = "562d81eb28a49ed6e0d771a430c21a458cdd33f9";
|
||||
sha256 = "l5sIUInOhhkn3ernQLIEwEpRCyICDH/1k4C/aidy1/I=";
|
||||
# This is actually one commit before release 123, because the final
|
||||
# commit breaks the build and gets reverted in future releases.
|
||||
rev = "7c75ad6185893b4cc26676b6a0eb9fbdf9ed5b72";
|
||||
hash = "sha256-1Jj8TAgYxIGLJeTtiZBcXw0n/mTbh/uC8EFM0IYD5VY=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
cargoHash = "sha256-2MaRfQCAjW560sdAPqdWymClwY1U5QjIMzknHry+9zs=";
|
||||
cargoHash = "sha256-f3w+msG7m6valf/I1puMrpiVgk0J1bdyp+rw3KQ/7ys=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner
|
||||
|
|
|
@ -1,21 +1,28 @@
|
|||
{ lib, stdenv, fetchzip, meson, ninja, pkg-config, wayland-scanner
|
||||
{ lib, stdenv, fetchzip
|
||||
, meson, ninja, pkg-config, python3, python3Packages, wayland-scanner
|
||||
, libxkbcommon, mesa, pixman, xorg, wayland, gtest
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "sommelier";
|
||||
version = "104.0";
|
||||
version = "123.0";
|
||||
|
||||
src = fetchzip rec {
|
||||
url = "https://chromium.googlesource.com/chromiumos/platform2/+archive/${passthru.rev}/vm_tools/sommelier.tar.gz";
|
||||
passthru.rev = "af5434fd9903936a534e1316cbd22361e67949ec";
|
||||
passthru.rev = "1abc91204f35cde76db37853ff3643c5cdb607e6";
|
||||
stripRoot = false;
|
||||
sha256 = "LungQqHQorHIKpye2SDBLuMHPt45C1cPYcs9o5Hc3cw=";
|
||||
sha256 = "Wa30MU7iK1Y7pKNeC+FPFXDwDxFLWOZPG4jkm8cnWeg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkg-config python3 python3Packages.jinja2 wayland-scanner
|
||||
];
|
||||
buildInputs = [ libxkbcommon mesa pixman wayland xorg.libxcb ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs gen-shim.py
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ gtest ];
|
||||
|
||||
|
|
|
@ -20,17 +20,17 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "aaaaxy";
|
||||
version = "1.5.42";
|
||||
version = "1.5.54";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "divVerent";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-RfjEr0oOtLcrHKQj1dYbykRbHoGoi0o7D3hjVG3siIQ=";
|
||||
hash = "sha256-FBla+KvUoUdCG0nM4falMJBq8NI75zqo/YSZy0bPFrE=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
vendorHash = "sha256-q/nDfh+A2eJDAaSWN4Xsgxp76AKsYIX7PNn/psBPmg0=";
|
||||
vendorHash = "sha256-rE1YXDpiGnAUdmAaOHehyM38SPBqNvSRHhtXIUwRYVs=";
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "charm-freeze";
|
||||
version = "0.1.4";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "charmbracelet";
|
||||
repo = "freeze";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ItcdgQUPrz2hpWS6nDYfnZaCdfocR3QgJTQ4TXzPQOw=";
|
||||
hash = "sha256-HLlMUOLDvNLVl4dvtyRwuLhp3pOlpm/naUXK2NiIAg8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-01tTr5NSyg52KGspYh9Rw98uQld6U+31Fy7jnyBoPx8=";
|
||||
vendorHash = "sha256-AUFzxmQOb/h0UgcprY09IVI7Auitn3JTDU/ptKicIAU=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
||||
|
||||
|
|
|
@ -0,0 +1,72 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, fetchYarnDeps
|
||||
, prefetch-yarn-deps
|
||||
, python3
|
||||
, jq
|
||||
, yarn
|
||||
, nodejs-slim
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fernglas";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wobcom";
|
||||
repo = "fernglas";
|
||||
rev = "fernglas-${version}";
|
||||
hash = "sha256-0wj5AS8RLVr+S/QWWxCsMvmVjmXUWGfR9kPaZimJEss=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ yarn nodejs-slim prefetch-yarn-deps python3 jq ];
|
||||
|
||||
nlnog_communities = fetchFromGitHub {
|
||||
owner = "NLNOG";
|
||||
repo = "lg.ring.nlnog.net";
|
||||
rev = "20f9a9f3da8b1bc9d7046e88c62df4b41b4efb99";
|
||||
hash = "sha256-FlbOBX/+/LLmoqMJLvu59XuHYmiohIhDc1VjkZu4Wzo=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ls9HvwtbpOwzQbi/+9IbgXurZp0LjQKGZcDuLZlX+Vk=";
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = src + "/frontend/yarn.lock";
|
||||
hash = "sha256-/ubCAs4C5nG8xNC77jTH+cJVNgddSxqGGPEVLDH/Cdo=";
|
||||
};
|
||||
|
||||
cargoBuildFlags = lib.optionals (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isStatic) [
|
||||
"--features" "mimalloc"
|
||||
] ++ [
|
||||
"--features" "embed-static"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
python3 contrib/print_communities.py $nlnog_communities/communities | jq . > src/communities.json
|
||||
|
||||
pushd frontend
|
||||
|
||||
export HOME=$TMPDIR
|
||||
yarn config --offline set yarn-offline-mirror $offlineCache
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive
|
||||
patchShebangs node_modules/
|
||||
|
||||
FERNGLAS_VERSION=${version} FERNGLAS_COMMIT=${src.rev} node_modules/.bin/webpack
|
||||
cp -r dist/ ../static
|
||||
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Looking glass for your network using BGP and BMP as data source";
|
||||
homepage = "https://wobcom.github.io/fernglas/";
|
||||
changelog = "https://github.com/wobcom/fernglas/releases/tag/fernglas-${version}";
|
||||
license = licenses.eupl12;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.wdz.members;
|
||||
mainProgram = "fernglas";
|
||||
};
|
||||
}
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
buildDotnetModule rec {
|
||||
pname = "lubelogger";
|
||||
version = "1.2.9";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hargata";
|
||||
repo = "lubelog";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-bzCPoWgI7JA5dEYKl2m1ZzNPXxNRAzZz1lFa7fVCkNw=";
|
||||
hash = "sha256-L2iimh1weZ2f1mh42ahJVZLnemY3kFGK19jLyhcktjI=";
|
||||
};
|
||||
|
||||
projectFile = "CarCareTracker.sln";
|
||||
|
|
|
@ -1,25 +1,24 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "offat";
|
||||
version = "0.16.0";
|
||||
version = "0.17.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OWASP";
|
||||
repo = "OFFAT";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ald+hanICvY0jTgL7GtIMiArLWazykaJAJSfzPKE4/I=";
|
||||
hash = "sha256-tSLlMgvKIDlzHL71gH1OznKI5jEyUoJUy9d9Z8tNXjk=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/src";
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
build-system = with python3.pkgs; [ poetry-core ];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
aiohttp
|
||||
|
@ -45,9 +44,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"offat"
|
||||
];
|
||||
pythonImportsCheck = [ "offat" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to test APIs for prevalent vulnerabilities";
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, darwin
|
||||
, fetchFromGitHub
|
||||
, pcsclite
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "piv-agent";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smlx";
|
||||
repo = "piv-agent";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-aukcnubhB8kbAl22eeFKzLPvVcYdgcEQ1gy3n6KWG00=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-1d6EKEvo4XNDXRtbdnKkqyF9y0LPPHWKu9X/wYnbmas=";
|
||||
|
||||
subPackages = [ "cmd/piv-agent" ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.shortCommit=${src.rev}" ];
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
if stdenv.isDarwin
|
||||
then [ darwin.apple_sdk.frameworks.PCSC ]
|
||||
else [ pcsclite ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An SSH and GPG agent which you can use with your PIV hardware security device (e.g. a Yubikey)";
|
||||
homepage = "https://github.com/smlx/piv-agent";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
mainProgram = "piv-agent";
|
||||
};
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pyprland";
|
||||
version = "2.1.4";
|
||||
version = "2.2.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.10";
|
||||
|
@ -11,7 +11,7 @@ python3Packages.buildPythonApplication rec {
|
|||
owner = "hyprland-community";
|
||||
repo = "pyprland";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vko8SY5d537bKnpVeJWM3D4WeYCXAvF6tCzlFjKIZRU=";
|
||||
hash = "sha256-WGLcrmKHti5Hu2Ed4/G1UgYGXPyGYHmkPK/yo4gdMNM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [ poetry-core ];
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"darwin": {
|
||||
"hash": "sha256-4eeu1JlChD9QvFSpuq5Wh8y+cUqpHYKgi3+SBTJqIwA=",
|
||||
"version": "0.2024.03.26.08.02.stable_02"
|
||||
"hash": "sha256-tNNT8FqMvrjGFuyhizbyd2gAimbd5SLyCMVt6bFcbyQ=",
|
||||
"version": "0.2024.04.02.08.02.stable_01"
|
||||
},
|
||||
"linux": {
|
||||
"hash": "sha256-hBwLfxhdy4cru2xH3hY+mGbJpR47Qf3SqEIijIRDstU=",
|
||||
"version": "0.2024.03.26.08.02.stable_02"
|
||||
"hash": "sha256-xnXRg23AdfCk2TKBr+PZ3wDYqTN4+8wLSodWpmh3D/Y=",
|
||||
"version": "0.2024.04.02.08.02.stable_01"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "phinger-cursors";
|
||||
version = "1.1";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/phisch/phinger-cursors/releases/download/v${version}/phinger-cursors-variants.tar.bz2";
|
||||
sha256 = "sha256-II+1x+rcjGRRVB8GYkVwkKVHNHcNaBKRb6C613901oc=";
|
||||
sha256 = "sha256-A12BGtc0+wDqeSGN4lbUe5G3Pv4IsQB4TkvWHnDU6bE=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"commit": "8fd329148e6583ab472717f5cac4e8132dac2c1e",
|
||||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/8fd329148e6583ab472717f5cac4e8132dac2c1e.tar.gz",
|
||||
"sha256": "0acf86rjvkh8vgbkzm1gjavm8xr508hd19ncwa19zqrf8gpp051x",
|
||||
"msg": "Update from Hackage at 2024-03-16T22:28:08Z"
|
||||
"commit": "a3f1357d6561e38afbb7545f733063f9ad7465c4",
|
||||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/a3f1357d6561e38afbb7545f733063f9ad7465c4.tar.gz",
|
||||
"sha256": "0nvrqbaf483af1abxqcms8f60nbxyqghf5k1jb4m3xah0206kdwf",
|
||||
"msg": "Update from Hackage at 2024-03-31T04:36:22Z"
|
||||
}
|
||||
|
|
|
@ -56,6 +56,8 @@ haskellPackages.mkDerivation rec {
|
|||
homepage = "https://github.com/carp-lang/Carp";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jluttine ];
|
||||
# Not actively maintained at the moment
|
||||
broken = true;
|
||||
|
||||
# Windows not (yet) supported.
|
||||
platforms = with lib.platforms; unix ++ darwin;
|
||||
|
|
|
@ -350,10 +350,10 @@ stdenv.mkDerivation ({
|
|||
'*-android*|*-gnueabi*|*-musleabi*)'
|
||||
done
|
||||
''
|
||||
# Need to make writable EM_CACHE for emscripten
|
||||
# Need to make writable EM_CACHE for emscripten. The path in EM_CACHE must be absolute.
|
||||
# https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend#configure-fails-with-sub-word-sized-atomic-operations-not-available
|
||||
+ lib.optionalString targetPlatform.isGhcjs ''
|
||||
export EM_CACHE="$(mktemp -d emcache.XXXXXXXXXX)"
|
||||
export EM_CACHE="$(realpath $(mktemp -d emcache.XXXXXXXXXX))"
|
||||
cp -Lr ${targetCC /* == emscripten */}/share/emscripten/cache/* "$EM_CACHE/"
|
||||
chmod u+rwX -R "$EM_CACHE"
|
||||
''
|
||||
|
|
|
@ -20,8 +20,8 @@ with haskellLib;
|
|||
|
||||
self: super: {
|
||||
# Make sure that Cabal 3.10.* can be built as-is
|
||||
Cabal_3_10_2_1 = doDistribute (super.Cabal_3_10_2_1.override ({
|
||||
Cabal-syntax = self.Cabal-syntax_3_10_2_0;
|
||||
Cabal_3_10_3_0 = doDistribute (super.Cabal_3_10_3_0.override ({
|
||||
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
|
||||
} // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.2.5") {
|
||||
# Use process core package when possible
|
||||
process = self.process_1_6_18_0;
|
||||
|
@ -36,9 +36,9 @@ self: super: {
|
|||
{
|
||||
# Needs to be downgraded compared to Stackage LTS 21
|
||||
resolv = cself.resolv_0_1_2_0;
|
||||
} // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.6") {
|
||||
Cabal = cself.Cabal_3_10_2_1;
|
||||
Cabal-syntax = cself.Cabal-syntax_3_10_2_0;
|
||||
} // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.10") {
|
||||
Cabal = cself.Cabal_3_10_3_0;
|
||||
Cabal-syntax = cself.Cabal-syntax_3_10_3_0;
|
||||
} // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.4") {
|
||||
# We need at least directory >= 1.3.7.0. Using the latest version
|
||||
# 1.3.8.* is not an option since it causes very annoying dependencies
|
||||
|
@ -81,7 +81,7 @@ self: super: {
|
|||
extensions = doJailbreak (super.extensions.override {
|
||||
Cabal =
|
||||
if versionOlder self.ghc.version "9.6"
|
||||
then self.Cabal_3_10_2_1
|
||||
then self.Cabal_3_10_3_0
|
||||
else null; # use GHC bundled version
|
||||
});
|
||||
|
||||
|
@ -185,6 +185,7 @@ self: super: {
|
|||
|
||||
# https://github.com/mpickering/eventlog2html/pull/187
|
||||
eventlog2html = lib.pipe super.eventlog2html [
|
||||
doJailbreak
|
||||
(appendPatch (fetchpatch {
|
||||
name = "blaze-html-compat.patch";
|
||||
url = "https://github.com/mpickering/eventlog2html/commit/666aee9ee44c571173a73036b36ad4154c188481.patch";
|
||||
|
@ -1512,7 +1513,7 @@ self: super: {
|
|||
# 2022-08-31: Jailbreak is done to allow aeson 2.0.*:
|
||||
# https://github.com/haskell-CI/haskell-ci/commit/6ad0d5d701cbe101013335d597acaf5feadd3ab9#r82681900
|
||||
cabal-install-parsers = doJailbreak (dontCheck (super.cabal-install-parsers.override {
|
||||
Cabal-syntax = self.Cabal-syntax_3_10_2_0;
|
||||
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
|
||||
}));
|
||||
|
||||
# Test suite requires database
|
||||
|
@ -2297,7 +2298,7 @@ self: super: {
|
|||
# 2023-07-03: allow lattices-2.2, waiting on https://github.com/haskell-CI/haskell-ci/pull/664
|
||||
# 2024-03-21: pins specific version of ShellCheck
|
||||
haskell-ci = doJailbreak (super.haskell-ci.overrideScope (self: super: {
|
||||
Cabal-syntax = self.Cabal-syntax_3_10_2_0;
|
||||
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
|
||||
ShellCheck = self.ShellCheck_0_9_0;
|
||||
}));
|
||||
|
||||
|
@ -2564,7 +2565,7 @@ self: super: {
|
|||
|
||||
cabal-fmt = doJailbreak (super.cabal-fmt.override {
|
||||
# Needs newer Cabal-syntax version.
|
||||
Cabal-syntax = self.Cabal-syntax_3_10_2_0;
|
||||
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
|
||||
});
|
||||
|
||||
# 2023-07-18: https://github.com/srid/ema/issues/156
|
||||
|
@ -3036,13 +3037,6 @@ self: super: {
|
|||
# repa-query, repa-scalar, repa-store, repa-stream
|
||||
;
|
||||
|
||||
# https://github.com/jhickner/smtp-mail/pull/41 Use crypton-connection instead of connection
|
||||
smtp-mail = appendPatch (pkgs.fetchpatch {
|
||||
name = "smtp-mail-crypton-connection.patch";
|
||||
url = "https://github.com/jhickner/smtp-mail/commit/4c724c80814ab1da7c37256a6c10e04c88b9af95.patch";
|
||||
hash = "sha256-rCyY4rB/wLspeAbLw1jji5BykYFLnmTjLiUyNkiEXmw";
|
||||
}) (super.smtp-mail.override { connection = self.crypton-connection; });
|
||||
|
||||
# Use recent git version as the hackage version is outdated and not building on recent GHC versions
|
||||
haskell-to-elm = overrideSrc {
|
||||
version = "unstable-2023-12-02";
|
||||
|
@ -3068,4 +3062,7 @@ self: super: {
|
|||
tasty = super.tasty_1_5;
|
||||
tasty-quickcheck = super.tasty-quickcheck_0_10_3;
|
||||
});
|
||||
|
||||
# Too strict bounds on text. Can be removed after https://github.com/alx741/currencies/pull/3 is merged
|
||||
currencies = doJailbreak super.currencies;
|
||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||
|
|
|
@ -303,6 +303,8 @@ self: super: ({
|
|||
stripLen = 1;
|
||||
}) super.inline-c-cpp;
|
||||
|
||||
# Tests fail on macOS https://github.com/mrkkrp/zip/issues/112
|
||||
zip = dontCheck super.zip;
|
||||
} // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin
|
||||
|
||||
# https://github.com/fpco/unliftio/issues/87
|
||||
|
|
|
@ -106,7 +106,7 @@ in {
|
|||
(
|
||||
let
|
||||
hls_overlay = lself: lsuper: {
|
||||
Cabal-syntax = lself.Cabal-syntax_3_10_2_0;
|
||||
Cabal-syntax = lself.Cabal-syntax_3_10_3_0;
|
||||
};
|
||||
in
|
||||
lib.mapAttrs (_: pkg: doDistribute (pkg.overrideScope hls_overlay)) {
|
||||
|
|
|
@ -52,12 +52,14 @@ self: super: {
|
|||
#
|
||||
# Version upgrades
|
||||
#
|
||||
th-abstraction = doDistribute self.th-abstraction_0_6_0_0;
|
||||
th-abstraction = doDistribute self.th-abstraction_0_7_0_0;
|
||||
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_8_2_20240223;
|
||||
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2;
|
||||
ghc-lib = doDistribute self.ghc-lib_9_8_1_20231121;
|
||||
megaparsec = doDistribute self.megaparsec_9_6_1;
|
||||
aeson = doDistribute self.aeson_2_2_1_0;
|
||||
# TODO: remove when aeson updates or launches a revision
|
||||
# see https://github.com/haskell/aeson/issues/1089 and https://github.com/haskell/aeson/pulls/1088
|
||||
aeson = doJailbreak (doDistribute self.aeson_2_2_1_0);
|
||||
attoparsec-aeson = doDistribute self.attoparsec-aeson_2_2_0_1;
|
||||
xmonad = doDistribute self.xmonad_0_18_0;
|
||||
apply-refact = self.apply-refact_0_14_0_0;
|
||||
|
|
|
@ -693,7 +693,6 @@ broken-packages:
|
|||
- cassava-records # failure in job https://hydra.nixos.org/build/233259049 at 2023-09-02
|
||||
- cassava-streams # failure in job https://hydra.nixos.org/build/233222669 at 2023-09-02
|
||||
- cassette # failure in job https://hydra.nixos.org/build/233201251 at 2023-09-02
|
||||
- castagnoli # failure in job https://hydra.nixos.org/build/233213036 at 2023-09-02
|
||||
- castle # failure in job https://hydra.nixos.org/build/233204027 at 2023-09-02
|
||||
- catamorphism # failure in job https://hydra.nixos.org/build/233208488 at 2023-09-02
|
||||
- Catana # failure in job https://hydra.nixos.org/build/233196550 at 2023-09-02
|
||||
|
@ -1083,7 +1082,6 @@ broken-packages:
|
|||
- curl-aeson # failure in job https://hydra.nixos.org/build/233210106 at 2023-09-02
|
||||
- curl-runnings # failure in job https://hydra.nixos.org/build/233258680 at 2023-09-02
|
||||
- curly-expander # failure in job https://hydra.nixos.org/build/233250838 at 2023-09-02
|
||||
- currencies # failure in job https://hydra.nixos.org/build/233216717 at 2023-09-02
|
||||
- currency-convert # failure in job https://hydra.nixos.org/build/233224509 at 2023-09-02
|
||||
- curry-base # failure in job https://hydra.nixos.org/build/233246647 at 2023-09-02
|
||||
- CurryDB # failure in job https://hydra.nixos.org/build/233238995 at 2023-09-02
|
||||
|
@ -3300,7 +3298,6 @@ broken-packages:
|
|||
- kind-integer # failure in job https://hydra.nixos.org/build/233250066 at 2023-09-02
|
||||
- kleene-list # failure in job https://hydra.nixos.org/build/233237651 at 2023-09-02
|
||||
- kmn-programming # failure in job https://hydra.nixos.org/build/233258328 at 2023-09-02
|
||||
- kmonad # failure in job https://hydra.nixos.org/build/252717089 at 2024-03-16
|
||||
- kmp-dfa # failure in job https://hydra.nixos.org/build/233237266 at 2023-09-02
|
||||
- knots # failure in job https://hydra.nixos.org/build/233209153 at 2023-09-02
|
||||
- koellner-phonetic # failure in job https://hydra.nixos.org/build/233217750 at 2023-09-02
|
||||
|
@ -4233,7 +4230,6 @@ broken-packages:
|
|||
- optimization # failure in job https://hydra.nixos.org/build/233191078 at 2023-09-02
|
||||
- optional # failure in job https://hydra.nixos.org/build/233241818 at 2023-09-02
|
||||
- options-time # failure in job https://hydra.nixos.org/build/233194289 at 2023-09-02
|
||||
- optparse-applicative-cmdline-util # failure in job https://hydra.nixos.org/build/252739738 at 2024-03-16
|
||||
- optparse-applicative-simple # failure in job https://hydra.nixos.org/build/233236802 at 2023-09-02
|
||||
- optparse-declarative # failure in job https://hydra.nixos.org/build/252718969 at 2024-03-16
|
||||
- optparse-helper # failure in job https://hydra.nixos.org/build/233248522 at 2023-09-02
|
||||
|
|
|
@ -365,6 +365,7 @@ package-maintainers:
|
|||
- X11
|
||||
- X11-xft
|
||||
- html-parse-util
|
||||
- kmonad
|
||||
- optparse-applicative-cmdline-util
|
||||
- xmonad
|
||||
- xmonad-contrib
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Stackage LTS 22.13
|
||||
# Stackage LTS 22.14
|
||||
# This file is auto-generated by
|
||||
# maintainers/scripts/haskell/update-stackage.sh
|
||||
default-package-overrides:
|
||||
|
@ -352,7 +352,7 @@ default-package-overrides:
|
|||
- ansi-wl-pprint ==1.0.2
|
||||
- ANum ==0.2.0.2
|
||||
- aos-signature ==0.1.1
|
||||
- apecs ==0.9.5
|
||||
- apecs ==0.9.6
|
||||
- apecs-gloss ==0.2.4
|
||||
- apecs-physics ==0.4.6
|
||||
- api-field-json-th ==0.1.0.2
|
||||
|
@ -402,7 +402,7 @@ default-package-overrides:
|
|||
- attoparsec-binary ==0.2
|
||||
- attoparsec-data ==1.0.5.4
|
||||
- attoparsec-expr ==0.1.1.2
|
||||
- attoparsec-framer ==0.1.0.2
|
||||
- attoparsec-framer ==0.1.0.3
|
||||
- attoparsec-iso8601 ==1.1.0.1
|
||||
- attoparsec-path ==0.0.0.1
|
||||
- attoparsec-run ==0.0.2.0
|
||||
|
@ -461,7 +461,7 @@ default-package-overrides:
|
|||
- between ==0.11.0.0
|
||||
- bibtex ==0.1.0.7
|
||||
- bifunctor-classes-compat ==0.1
|
||||
- bifunctors ==5.6.1
|
||||
- bifunctors ==5.6.2
|
||||
- bimap ==0.5.0
|
||||
- bimaps ==0.1.0.2
|
||||
- bin ==0.1.3
|
||||
|
@ -564,12 +564,13 @@ default-package-overrides:
|
|||
- bytestring-to-vector ==0.3.0.1
|
||||
- bytestring-tree-builder ==0.2.7.12
|
||||
- bytestring-trie ==0.2.7.2
|
||||
- bz2 ==1.0.1.0
|
||||
- bzlib ==0.5.1.0
|
||||
- bzlib-conduit ==0.3.0.2
|
||||
- bz2 ==1.0.1.1
|
||||
- bzip2-clib ==1.0.8
|
||||
- bzlib ==0.5.2.0
|
||||
- bzlib-conduit ==0.3.0.3
|
||||
- c14n ==0.1.0.3
|
||||
- c2hs ==0.28.8
|
||||
- cabal2spec ==2.7.0
|
||||
- cabal2spec ==2.7.1
|
||||
- cabal-appimage ==0.4.0.2
|
||||
- cabal-clean ==0.2.20230609
|
||||
- cabal-debian ==5.2.3
|
||||
|
@ -679,8 +680,8 @@ default-package-overrides:
|
|||
- comfort-fftw ==0.0.0.1
|
||||
- comfort-glpk ==0.1
|
||||
- comfort-graph ==0.0.4
|
||||
- commonmark ==0.2.5.1
|
||||
- commonmark-extensions ==0.2.5.3
|
||||
- commonmark ==0.2.6
|
||||
- commonmark-extensions ==0.2.5.4
|
||||
- commonmark-pandoc ==0.2.2.1
|
||||
- commutative ==0.0.2
|
||||
- commutative-semigroups ==0.1.0.2
|
||||
|
@ -728,7 +729,7 @@ default-package-overrides:
|
|||
- constraints-extras ==0.4.0.0
|
||||
- constraint-tuples ==0.1.2
|
||||
- construct ==0.3.1.2
|
||||
- context ==0.2.0.3
|
||||
- context ==0.2.1.0
|
||||
- context-http-client ==0.2.0.2
|
||||
- context-resource ==0.2.0.2
|
||||
- context-wai-middleware ==0.2.0.2
|
||||
|
@ -869,7 +870,7 @@ default-package-overrides:
|
|||
- derive-storable ==0.3.1.0
|
||||
- derive-topdown ==0.0.3.0
|
||||
- deriving-aeson ==0.2.9
|
||||
- deriving-compat ==0.6.5
|
||||
- deriving-compat ==0.6.6
|
||||
- deriving-trans ==0.9.1.0
|
||||
- detour-via-sci ==1.0.0
|
||||
- df1 ==0.4.2
|
||||
|
@ -909,7 +910,7 @@ default-package-overrides:
|
|||
- discrimination ==0.5
|
||||
- disk-free-space ==0.1.0.1
|
||||
- distributed-closure ==0.5.0.0
|
||||
- distributed-static ==0.3.9
|
||||
- distributed-static ==0.3.10
|
||||
- distribution-opensuse ==1.1.4
|
||||
- distributive ==0.6.2.1
|
||||
- diversity ==0.8.1.0
|
||||
|
@ -1096,7 +1097,7 @@ default-package-overrides:
|
|||
- flac-picture ==0.1.3
|
||||
- flags-applicative ==0.1.0.3
|
||||
- flat ==0.6
|
||||
- flatparse ==0.5.0.2
|
||||
- flatparse ==0.5.1.0
|
||||
- flay ==0.4
|
||||
- flexible-defaults ==0.0.3
|
||||
- FloatingHex ==0.5
|
||||
|
@ -1146,7 +1147,7 @@ default-package-overrides:
|
|||
- fuzzcheck ==0.1.1
|
||||
- fuzzy ==0.1.1.0
|
||||
- fuzzy-dates ==0.1.1.2
|
||||
- fuzzyset ==0.3.1
|
||||
- fuzzyset ==0.3.2
|
||||
- fuzzy-time ==0.2.0.3
|
||||
- gauge ==0.2.5
|
||||
- gd ==3000.7.3
|
||||
|
@ -1344,13 +1345,13 @@ default-package-overrides:
|
|||
- haskoin-node ==1.0.1
|
||||
- haskoin-store-data ==1.2.5
|
||||
- hasktags ==0.73.0
|
||||
- hasql ==1.6.4.1
|
||||
- hasql-dynamic-statements ==0.3.1.4
|
||||
- hasql ==1.6.4.3
|
||||
- hasql-dynamic-statements ==0.3.1.5
|
||||
- hasql-implicits ==0.1.1.2
|
||||
- hasql-interpolate ==0.2.1.0
|
||||
- hasql-listen-notify ==0.1.0.1
|
||||
- hasql-migration ==0.3.0
|
||||
- hasql-notifications ==0.2.0.6
|
||||
- hasql-notifications ==0.2.1.0
|
||||
- hasql-optparse-applicative ==0.7.1.3
|
||||
- hasql-pool ==0.10.1
|
||||
- hasql-th ==0.4.0.19
|
||||
|
@ -1520,7 +1521,7 @@ default-package-overrides:
|
|||
- HTTP ==4000.4.1
|
||||
- http-api-data ==0.5.1
|
||||
- http-api-data-qq ==0.1.0.0
|
||||
- http-client ==0.7.16
|
||||
- http-client ==0.7.17
|
||||
- http-client-openssl ==0.3.3
|
||||
- http-client-overrides ==0.1.1.0
|
||||
- http-client-restricted ==0.1.0
|
||||
|
@ -1530,7 +1531,7 @@ default-package-overrides:
|
|||
- http-date ==0.0.11
|
||||
- http-directory ==0.1.10
|
||||
- http-download ==0.2.1.0
|
||||
- httpd-shed ==0.4.1.1
|
||||
- httpd-shed ==0.4.1.2
|
||||
- http-io-streams ==0.1.7.0
|
||||
- http-link-header ==1.2.1
|
||||
- http-media ==0.8.1.1
|
||||
|
@ -1604,7 +1605,7 @@ default-package-overrides:
|
|||
- infer-license ==0.2.0
|
||||
- infinite-list ==0.1.1
|
||||
- inflections ==0.4.0.7
|
||||
- influxdb ==1.9.3
|
||||
- influxdb ==1.9.3.1
|
||||
- ini ==0.4.2
|
||||
- inj ==1.0
|
||||
- inline-c ==0.9.1.10
|
||||
|
@ -1628,7 +1629,7 @@ default-package-overrides:
|
|||
- intervals ==0.9.2
|
||||
- intset-imperative ==0.1.0.0
|
||||
- int-supply ==1.0.0
|
||||
- invariant ==0.6.2
|
||||
- invariant ==0.6.3
|
||||
- invert ==1.0.0.4
|
||||
- invertible ==0.2.0.8
|
||||
- invertible-grammar ==0.1.3.5
|
||||
|
@ -1748,8 +1749,8 @@ default-package-overrides:
|
|||
- lens-action ==0.2.6
|
||||
- lens-aeson ==1.2.3
|
||||
- lens-csv ==0.1.1.0
|
||||
- lens-family ==2.1.2
|
||||
- lens-family-core ==2.1.2
|
||||
- lens-family ==2.1.3
|
||||
- lens-family-core ==2.1.3
|
||||
- lens-misc ==0.0.2.0
|
||||
- lens-properties ==4.11.1
|
||||
- lens-regex ==0.1.3
|
||||
|
@ -1761,7 +1762,8 @@ default-package-overrides:
|
|||
- libBF ==0.6.7
|
||||
- libffi ==0.2.1
|
||||
- liboath-hs ==0.0.1.2
|
||||
- libyaml ==0.1.2
|
||||
- libyaml ==0.1.4
|
||||
- libyaml-clib ==0.2.5
|
||||
- lifted-async ==0.10.2.5
|
||||
- lifted-base ==0.2.3.12
|
||||
- lift-generics ==0.2.1
|
||||
|
@ -1823,7 +1825,7 @@ default-package-overrides:
|
|||
- machines ==0.7.3
|
||||
- magic ==1.1
|
||||
- magico ==0.0.2.3
|
||||
- mailtrap ==0.1.2.0
|
||||
- mailtrap ==0.1.2.1
|
||||
- mainland-pretty ==0.7.1
|
||||
- main-tester ==0.2.0.1
|
||||
- managed ==1.0.10
|
||||
|
@ -1928,7 +1930,7 @@ default-package-overrides:
|
|||
- monad-interleave ==0.2.0.1
|
||||
- monadlist ==0.0.2
|
||||
- monad-logger ==0.3.40
|
||||
- monad-logger-aeson ==0.4.1.2
|
||||
- monad-logger-aeson ==0.4.1.3
|
||||
- monad-logger-json ==0.1.0.0
|
||||
- monad-logger-logstash ==0.2.0.2
|
||||
- monad-loops ==0.4.3
|
||||
|
@ -1992,7 +1994,7 @@ default-package-overrides:
|
|||
- mysql ==0.2.1
|
||||
- mysql-haskell ==1.1.4
|
||||
- mysql-haskell-nem ==0.1.0.0
|
||||
- mysql-json-table ==0.1.3.0
|
||||
- mysql-json-table ==0.1.4.0
|
||||
- mysql-simple ==0.4.9
|
||||
- n2o ==0.11.1
|
||||
- n2o-nitro ==0.11.2
|
||||
|
@ -2029,9 +2031,9 @@ default-package-overrides:
|
|||
- network-messagepack-rpc ==0.1.2.0
|
||||
- network-messagepack-rpc-websocket ==0.1.1.1
|
||||
- network-multicast ==0.3.2
|
||||
- network-run ==0.2.6
|
||||
- network-run ==0.2.7
|
||||
- network-simple ==0.4.5
|
||||
- network-transport ==0.5.6
|
||||
- network-transport ==0.5.7
|
||||
- network-uri ==2.6.4.2
|
||||
- network-wait ==0.2.0.0
|
||||
- newtype ==0.2.2.0
|
||||
|
@ -2481,7 +2483,7 @@ default-package-overrides:
|
|||
- rp-tree ==0.7.1
|
||||
- rrb-vector ==0.2.1.0
|
||||
- RSA ==2.4.1
|
||||
- rss ==3000.2.0.7
|
||||
- rss ==3000.2.0.8
|
||||
- rss-conduit ==0.6.0.1
|
||||
- run-haskell-module ==0.0.2
|
||||
- runmemo ==1.0.0.1
|
||||
|
@ -2490,7 +2492,7 @@ default-package-overrides:
|
|||
- rzk ==0.7.3
|
||||
- s3-signer ==0.5.0.0
|
||||
- safe ==0.3.21
|
||||
- safe-coloured-text ==0.2.0.1
|
||||
- safe-coloured-text ==0.2.0.2
|
||||
- safe-coloured-text-gen ==0.0.0.2
|
||||
- safe-coloured-text-layout ==0.0.0.0
|
||||
- safe-coloured-text-layout-gen ==0.0.0.0
|
||||
|
@ -2516,7 +2518,7 @@ default-package-overrides:
|
|||
- sandwich-slack ==0.1.2.0
|
||||
- sandwich-webdriver ==0.2.3.1
|
||||
- say ==0.1.0.1
|
||||
- sbp ==5.0.5
|
||||
- sbp ==5.0.7
|
||||
- sbv ==10.2
|
||||
- scalpel ==0.6.2.2
|
||||
- scalpel-core ==0.6.2.2
|
||||
|
@ -2651,8 +2653,8 @@ default-package-overrides:
|
|||
- skein ==1.0.9.4
|
||||
- skews ==0.1.0.3
|
||||
- skip-var ==0.1.1.0
|
||||
- skylighting ==0.14.1
|
||||
- skylighting-core ==0.14.1
|
||||
- skylighting ==0.14.1.1
|
||||
- skylighting-core ==0.14.1.1
|
||||
- skylighting-format-ansi ==0.1
|
||||
- skylighting-format-blaze-html ==0.1.1.2
|
||||
- skylighting-format-context ==0.1.0.2
|
||||
|
@ -2691,7 +2693,7 @@ default-package-overrides:
|
|||
- Spock-api ==0.14.0.0
|
||||
- spoon ==0.3.1
|
||||
- spreadsheet ==0.1.3.10
|
||||
- sqids ==0.2.1.0
|
||||
- sqids ==0.2.2.0
|
||||
- sqlite-simple ==0.4.19.0
|
||||
- sql-words ==0.1.6.5
|
||||
- squeal-postgresql ==0.9.1.3
|
||||
|
@ -2882,7 +2884,7 @@ default-package-overrides:
|
|||
- test-fun ==0.1.0.0
|
||||
- testing-feat ==1.1.1.1
|
||||
- testing-type-modifiers ==0.1.0.1
|
||||
- texmath ==0.12.8.6
|
||||
- texmath ==0.12.8.7
|
||||
- text-ansi ==0.3.0.1
|
||||
- text-binary ==0.2.1.1
|
||||
- text-builder ==0.6.7.2
|
||||
|
@ -2909,7 +2911,7 @@ default-package-overrides:
|
|||
- tf-random ==0.5
|
||||
- th-abstraction ==0.5.0.0
|
||||
- th-bang-compat ==0.0.1.0
|
||||
- th-compat ==0.1.4
|
||||
- th-compat ==0.1.5
|
||||
- th-constraint-compat ==0.0.1.0
|
||||
- th-data-compat ==0.1.3.1
|
||||
- th-desugar ==1.15
|
||||
|
@ -3064,7 +3066,7 @@ default-package-overrides:
|
|||
- universe-instances-extended ==1.1.3
|
||||
- universe-reverse-instances ==1.1.1
|
||||
- universe-some ==1.2.1
|
||||
- universum ==1.8.2
|
||||
- universum ==1.8.2.1
|
||||
- unix-bytestring ==0.4.0.1
|
||||
- unix-compat ==0.7.1
|
||||
- unix-time ==0.4.12
|
||||
|
@ -3131,7 +3133,7 @@ default-package-overrides:
|
|||
- vector-th-unbox ==0.2.2
|
||||
- verbosity ==0.4.0.0
|
||||
- verset ==0.0.1.9
|
||||
- versions ==6.0.5
|
||||
- versions ==6.0.6
|
||||
- vformat ==0.14.1.0
|
||||
- vformat-time ==0.1.0.0
|
||||
- ViennaRNAParser ==1.3.3
|
||||
|
@ -3161,7 +3163,7 @@ default-package-overrides:
|
|||
- wai-middleware-caching-lru ==0.1.0.0
|
||||
- wai-middleware-caching-redis ==0.2.0.0
|
||||
- wai-middleware-clacks ==0.1.0.1
|
||||
- wai-middleware-delegate ==0.1.4.0
|
||||
- wai-middleware-delegate ==0.1.4.1
|
||||
- wai-middleware-metrics ==0.2.4
|
||||
- wai-middleware-prometheus ==1.0.0.1
|
||||
- wai-middleware-static ==0.9.2
|
||||
|
@ -3193,7 +3195,7 @@ default-package-overrides:
|
|||
- wide-word ==0.1.6.0
|
||||
- Win32-notify ==0.3.0.3
|
||||
- windns ==0.1.0.1
|
||||
- witch ==1.2.0.4
|
||||
- witch ==1.2.1.0
|
||||
- withdependencies ==0.3.0
|
||||
- witherable ==0.4.2
|
||||
- within ==0.2.0.1
|
||||
|
|
|
@ -1331,4 +1331,6 @@ self: super: builtins.intersectAttrs super {
|
|||
# Test failure is related to a GHC implementation detail of primitives and doesn't
|
||||
# cause actual problems in dependent packages, see https://github.com/lehins/pvar/issues/4
|
||||
pvar = dontCheck super.pvar;
|
||||
|
||||
kmonad = enableSeparateBinOutput super.kmonad;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,13 +4,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jose";
|
||||
version = "12";
|
||||
version = "13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "latchset";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MuYRgYskIT2rmd32gziCdiRwIWMKQ6iTx0Qm/jJI+Iw=";
|
||||
hash = "sha256-XkYvBjPmwhwo2p8/jTXazHRAgSGkI7LTLUlqbxMxlys=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson pkg-config ninja asciidoc ];
|
||||
|
@ -25,5 +25,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://github.com/latchset/jose";
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -15,13 +15,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nco";
|
||||
version = "5.2.2";
|
||||
version = "5.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nco";
|
||||
repo = "nco";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-d90088MKliM90KSbL0TNEafhfvLQlD/stO5V83fTXO0=";
|
||||
hash = "sha256-a1Q1oK546F1itCtugpbh9fc+asokuXGMS51OgZ59bnY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rapidfuzz-cpp";
|
||||
version = "3.0.3";
|
||||
version = "3.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rapidfuzz";
|
||||
repo = "rapidfuzz-cpp";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-6Df0X/gkS0i1RWv1uh0Hcn/lrLlIHeRp/+vfUmQ2EmI=";
|
||||
hash = "sha256-urMdK+6ORHRgisppb700jaQpxLXAvXVjd8WDN7Zky3A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sentry-native";
|
||||
version = "0.7.1";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-native";
|
||||
rev = version;
|
||||
hash = "sha256-t1lk0gW72uQrLbeLdvlFzYEvOarbW2ya7sK6Ru3FW+o=";
|
||||
hash = "sha256-0yFRDQ/f0oVbpZ4wev28xCTVkbXr58Tt0Czda3ppRWk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pyvex
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
pyvex,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ailment";
|
||||
version = "9.2.97";
|
||||
version = "9.2.98";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
@ -17,23 +18,17 @@ buildPythonPackage rec {
|
|||
owner = "angr";
|
||||
repo = "ailment";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-R6OBc7qK4zP0t8m26V17he8Oy39eSK8/Dm84ScnBy3s=";
|
||||
hash = "sha256-ue780bhPpxv7Bnx9PX+HdQt3gcDSvTvK0FLPMopXQRY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
pyvex
|
||||
];
|
||||
dependencies = [ pyvex ];
|
||||
|
||||
# Tests depend on angr (possibly a circular dependency)
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ailment"
|
||||
];
|
||||
pythonImportsCheck = [ "ailment" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The angr Intermediate Language";
|
||||
|
|
|
@ -1,42 +1,43 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, ailment
|
||||
, archinfo
|
||||
, buildPythonPackage
|
||||
, cachetools
|
||||
, capstone
|
||||
, cffi
|
||||
, claripy
|
||||
, cle
|
||||
, cppheaderparser
|
||||
, dpkt
|
||||
, fetchFromGitHub
|
||||
, gitpython
|
||||
, itanium-demangler
|
||||
, mulpyplexer
|
||||
, nampa
|
||||
, networkx
|
||||
, progressbar2
|
||||
, protobuf
|
||||
, psutil
|
||||
, pycparser
|
||||
, pyformlang
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, pyvex
|
||||
, rich
|
||||
, rpyc
|
||||
, setuptools
|
||||
, sortedcontainers
|
||||
, sqlalchemy
|
||||
, sympy
|
||||
, unicorn
|
||||
, unique-log-filter
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
ailment,
|
||||
archinfo,
|
||||
buildPythonPackage,
|
||||
cachetools,
|
||||
capstone,
|
||||
cffi,
|
||||
claripy,
|
||||
cle,
|
||||
cppheaderparser,
|
||||
dpkt,
|
||||
fetchFromGitHub,
|
||||
gitpython,
|
||||
itanium-demangler,
|
||||
mulpyplexer,
|
||||
nampa,
|
||||
networkx,
|
||||
progressbar2,
|
||||
protobuf,
|
||||
psutil,
|
||||
pycparser,
|
||||
pyformlang,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
pyvex,
|
||||
rich,
|
||||
rpyc,
|
||||
setuptools,
|
||||
sortedcontainers,
|
||||
sqlalchemy,
|
||||
sympy,
|
||||
unicorn,
|
||||
unique-log-filter,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "angr";
|
||||
version = "9.2.97";
|
||||
version = "9.2.98";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
@ -45,12 +46,10 @@ buildPythonPackage rec {
|
|||
owner = "angr";
|
||||
repo = "angr";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-eJkxflAQFI/sEL4JMlMe+kClnaVSxtoOrPg8HQpH78g=";
|
||||
hash = "sha256-9NLQtwakM041yNY/mb9WbSGC1Q8AHHkiqqjf5bZUOlI=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"capstone"
|
||||
];
|
||||
pythonRelaxDeps = [ "capstone" ];
|
||||
|
||||
build-system = [
|
||||
pythonRelaxDepsHook
|
||||
|
@ -88,9 +87,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
AngrDB = [
|
||||
sqlalchemy
|
||||
];
|
||||
AngrDB = [ sqlalchemy ];
|
||||
};
|
||||
|
||||
setupPyBuildFlags = lib.optionals stdenv.isLinux [
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, angr
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, progressbar
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, tqdm
|
||||
{
|
||||
lib,
|
||||
angr,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
progressbar,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -22,9 +23,7 @@ buildPythonPackage rec {
|
|||
hash = "sha256-T07Y23UDp9eL2DK5gakV8kPNGsXf+4EofZJDSW/JS1Q=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
angr
|
||||
|
@ -36,9 +35,7 @@ buildPythonPackage rec {
|
|||
# cle is executing the tests with the angr binaries already and is a requirement of angr
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"angrop"
|
||||
];
|
||||
pythonImportsCheck = [ "angrop" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ROP gadget finder and chain builder";
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
{ lib
|
||||
, backports-strenum
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
backports-strenum,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "archinfo";
|
||||
version = "9.2.97";
|
||||
version = "9.2.98";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -18,24 +19,16 @@ buildPythonPackage rec {
|
|||
owner = "angr";
|
||||
repo = "archinfo";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-X8rMTQvNolYjSPyXbP2i5MYTPEvQlwoUQmXeEW56wQs=";
|
||||
hash = "sha256-EdVGm4453XxGrq2D1v5JzSZyroRNzluZ5/r74YAt5zU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = lib.optionals (pythonOlder "3.11") [
|
||||
backports-strenum
|
||||
];
|
||||
dependencies = lib.optionals (pythonOlder "3.11") [ backports-strenum ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"archinfo"
|
||||
];
|
||||
pythonImportsCheck = [ "archinfo" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Classes with architecture-specific information";
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cachetools
|
||||
, decorator
|
||||
, fetchFromGitHub
|
||||
, pysmt
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, setuptools
|
||||
, z3-solver
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cachetools,
|
||||
decorator,
|
||||
fetchFromGitHub,
|
||||
pysmt,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
setuptools,
|
||||
z3-solver,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "claripy";
|
||||
version = "9.2.97";
|
||||
version = "9.2.98";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
@ -22,13 +23,11 @@ buildPythonPackage rec {
|
|||
owner = "angr";
|
||||
repo = "claripy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ZSDG1KmVi0kZX4WmrYIyd5+zRR/rjrugm8UjFlI5pfU=";
|
||||
hash = "sha256-qGkVGRDVX8YMWgvRAqKM9Pxjv9uqu4UNSDtvhzVVeSU=";
|
||||
};
|
||||
|
||||
# z3 does not provide a dist-info, so python-runtime-deps-check will fail
|
||||
pythonRemoveDeps = [
|
||||
"z3-solver"
|
||||
];
|
||||
pythonRemoveDeps = [ "z3-solver" ];
|
||||
|
||||
build-system = [
|
||||
pythonRelaxDepsHook
|
||||
|
@ -42,13 +41,9 @@ buildPythonPackage rec {
|
|||
z3-solver
|
||||
] ++ z3-solver.requiredPythonModules;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"claripy"
|
||||
];
|
||||
pythonImportsCheck = [ "claripy" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python abstraction layer for constraint solvers";
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
{ lib
|
||||
, archinfo
|
||||
, buildPythonPackage
|
||||
, cffi
|
||||
, fetchFromGitHub
|
||||
, minidump
|
||||
, pefile
|
||||
, pyelftools
|
||||
, pynose
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyvex
|
||||
, pyxbe
|
||||
, setuptools
|
||||
, sortedcontainers
|
||||
{
|
||||
lib,
|
||||
archinfo,
|
||||
buildPythonPackage,
|
||||
cffi,
|
||||
fetchFromGitHub,
|
||||
minidump,
|
||||
pefile,
|
||||
pyelftools,
|
||||
pynose,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyvex,
|
||||
pyxbe,
|
||||
setuptools,
|
||||
sortedcontainers,
|
||||
}:
|
||||
|
||||
let
|
||||
# The binaries are following the argr projects release cycle
|
||||
version = "9.2.97";
|
||||
version = "9.2.98";
|
||||
|
||||
# Binary files from https://github.com/angr/binaries (only used for testing and only here)
|
||||
binaries = fetchFromGitHub {
|
||||
owner = "angr";
|
||||
repo = "binaries";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FiPEqfNaAXI+xSWE+So//Uwz9k3bANHQ++nRSPKkddM=";
|
||||
hash = "sha256-hnYMAgEnDHXg1jUrzhLWuun+Gv+2xnd4Da6OC9IGa2Q=";
|
||||
};
|
||||
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "cle";
|
||||
|
@ -39,12 +39,10 @@ buildPythonPackage rec {
|
|||
owner = "angr";
|
||||
repo = "cle";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tain1I7Td+0v7n+px3mQnz7reKZUbGYDWfKnDhvmU8I=";
|
||||
hash = "sha256-6gJKhyjKBgtSwGk5lqkaQVxe0ZC5WHVIYQMeREfz9A0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
archinfo
|
||||
|
@ -82,9 +80,7 @@ buildPythonPackage rec {
|
|||
"test_remote_file_map"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cle"
|
||||
];
|
||||
pythonImportsCheck = [ "cle" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python loader for many binary formats";
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
, aiodns
|
||||
, aiohttp
|
||||
|
@ -10,20 +11,23 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "forecast-solar";
|
||||
version = "3.0.0";
|
||||
|
||||
format = "setuptools";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "forecast_solar";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Go0DF2qyVyGVYEeoEEuxsSR9Ge8Pg4S77zM1HL83ELc=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-iol0XtfPZI95o/uEyBcXgeQjcfl2kI+4mugtywa6BXI=";
|
||||
};
|
||||
|
||||
PACKAGE_VERSION = version;
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
env.PACKAGE_VERSION = version;
|
||||
|
||||
dependencies = [
|
||||
aiodns
|
||||
aiohttp
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
|
@ -37,6 +41,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/home-assistant-libs/forecast_solar/releases/tag/v${version}";
|
||||
description = "Asynchronous Python client for getting forecast solar information";
|
||||
homepage = "https://github.com/home-assistant-libs/forecast_solar";
|
||||
license = licenses.mit;
|
||||
|
|
|
@ -1,38 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, testers
|
||||
, ansible-compat
|
||||
, ansible-core
|
||||
, click-help-colors
|
||||
, enrich
|
||||
, jsonschema
|
||||
, molecule
|
||||
, withPlugins ? true, molecule-plugins
|
||||
, packaging
|
||||
, pluggy
|
||||
, rich
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, yamllint
|
||||
, wcmatch
|
||||
, wheel
|
||||
{
|
||||
lib,
|
||||
ansible-compat,
|
||||
ansible-core,
|
||||
buildPythonPackage,
|
||||
click-help-colors,
|
||||
enrich,
|
||||
fetchPypi,
|
||||
jsonschema,
|
||||
molecule,
|
||||
packaging,
|
||||
pluggy,
|
||||
pythonOlder,
|
||||
rich,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
testers,
|
||||
wcmatch,
|
||||
withPlugins ? true,
|
||||
molecule-plugins,
|
||||
yamllint,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "molecule";
|
||||
version = "24.2.0";
|
||||
format = "pyproject";
|
||||
version = "24.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-R8mCp9Bdt4Rtp3/nFZ3rlG8myvsuOI/HGBK+AImkF3Y=";
|
||||
hash = "sha256-g1IrqpuRVg6phic8qxScORVpdunWEkVxciYyCTWtVuQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -53,19 +56,22 @@ buildPythonPackage rec {
|
|||
# tests can't be easily run without installing things from ansible-galaxy
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests.version = (testers.testVersion {
|
||||
package = molecule;
|
||||
command = "PY_COLORS=0 ${pname} --version";
|
||||
}).overrideAttrs (old: {
|
||||
# workaround the error: Permission denied: '/homeless-shelter'
|
||||
HOME = "$(mktemp -d)";
|
||||
});
|
||||
passthru.tests.version =
|
||||
(testers.testVersion {
|
||||
package = molecule;
|
||||
command = "PY_COLORS=0 ${pname} --version";
|
||||
}).overrideAttrs
|
||||
(old: {
|
||||
# workaround the error: Permission denied: '/homeless-shelter'
|
||||
HOME = "$(mktemp -d)";
|
||||
});
|
||||
|
||||
meta = with lib; {
|
||||
description = "Molecule aids in the development and testing of Ansible roles";
|
||||
mainProgram = "molecule";
|
||||
homepage = "https://github.com/ansible-community/molecule";
|
||||
maintainers = with maintainers; [ dawidd6 ];
|
||||
changelog = "https://github.com/ansible/molecule/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dawidd6 ];
|
||||
mainProgram = "molecule";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,28 +1,29 @@
|
|||
{ lib
|
||||
, absl-py
|
||||
, buildPythonPackage
|
||||
, cached-property
|
||||
, etils
|
||||
, fetchPypi
|
||||
, flit-core
|
||||
, importlib-resources
|
||||
, jax
|
||||
, jaxlib
|
||||
, msgpack
|
||||
, nest-asyncio
|
||||
, numpy
|
||||
, protobuf
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, tensorstore
|
||||
, typing-extensions
|
||||
{
|
||||
lib,
|
||||
absl-py,
|
||||
buildPythonPackage,
|
||||
cached-property,
|
||||
etils,
|
||||
fetchPypi,
|
||||
flit-core,
|
||||
importlib-resources,
|
||||
jax,
|
||||
jaxlib,
|
||||
msgpack,
|
||||
nest-asyncio,
|
||||
numpy,
|
||||
protobuf,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
tensorstore,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "orbax-checkpoint";
|
||||
version = "0.5.7";
|
||||
version = "0.5.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
@ -30,14 +31,12 @@ buildPythonPackage rec {
|
|||
src = fetchPypi {
|
||||
pname = "orbax_checkpoint";
|
||||
inherit version;
|
||||
hash = "sha256-3hRUm4mSIKT0RUU5Z8GsLXFluBUlM0JYd0YAXwOpgTs=";
|
||||
hash = "sha256-H96IkUM3IxV79uddNBCU0dq+0dvPx8/Ps4HeCItGi2A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
absl-py
|
||||
cached-property
|
||||
etils
|
||||
|
|
|
@ -1,25 +1,26 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioredis
|
||||
, buildPythonPackage
|
||||
, coloredlogs
|
||||
, fastapi
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, pillow
|
||||
, psutil
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, redis
|
||||
, requests
|
||||
, ujson
|
||||
, uvicorn
|
||||
, watchdog
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
aioredis,
|
||||
buildPythonPackage,
|
||||
coloredlogs,
|
||||
fastapi,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pillow,
|
||||
psutil,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
redis,
|
||||
requests,
|
||||
ujson,
|
||||
uvicorn,
|
||||
watchdog,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytelegrambotapi";
|
||||
version = "4.16.0";
|
||||
version = "4.17.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -28,55 +29,30 @@ buildPythonPackage rec {
|
|||
owner = "eternnoir";
|
||||
repo = "pyTelegramBotAPI";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-w039aPK+PdOiiOj5ZZAUfyHQ6QDrKySVIijcOw+GIOk=";
|
||||
hash = "sha256-Asw6wpZs0FgsUYLVQ4u4qQgIFdvShcsN3XvgHn48cbI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
json = [
|
||||
ujson
|
||||
];
|
||||
PIL = [
|
||||
pillow
|
||||
];
|
||||
redis = [
|
||||
redis
|
||||
];
|
||||
aioredis = [
|
||||
aioredis
|
||||
];
|
||||
aiohttp = [
|
||||
aiohttp
|
||||
];
|
||||
fastapi = [
|
||||
fastapi
|
||||
];
|
||||
uvicorn = [
|
||||
uvicorn
|
||||
];
|
||||
psutil = [
|
||||
psutil
|
||||
];
|
||||
coloredlogs = [
|
||||
coloredlogs
|
||||
];
|
||||
watchdog = [
|
||||
watchdog
|
||||
];
|
||||
json = [ ujson ];
|
||||
PIL = [ pillow ];
|
||||
redis = [ redis ];
|
||||
aioredis = [ aioredis ];
|
||||
aiohttp = [ aiohttp ];
|
||||
fastapi = [ fastapi ];
|
||||
uvicorn = [ uvicorn ];
|
||||
psutil = [ psutil ];
|
||||
coloredlogs = [ coloredlogs ];
|
||||
watchdog = [ watchdog ];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
requests
|
||||
] ++ passthru.optional-dependencies.watchdog
|
||||
++ passthru.optional-dependencies.aiohttp;
|
||||
] ++ passthru.optional-dependencies.watchdog ++ passthru.optional-dependencies.aiohttp;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"telebot"
|
||||
];
|
||||
pythonImportsCheck = [ "telebot" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation for the Telegram Bot API";
|
||||
|
|
|
@ -1,34 +1,35 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, prompt-toolkit
|
||||
, pygments
|
||||
, pyserial
|
||||
, pytest-asyncio
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, redis
|
||||
, setuptools
|
||||
, sqlalchemy
|
||||
, twisted
|
||||
, typer
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
fetchFromGitHub,
|
||||
prompt-toolkit,
|
||||
pygments,
|
||||
pyserial,
|
||||
pytest-asyncio,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
redis,
|
||||
setuptools,
|
||||
sqlalchemy,
|
||||
twisted,
|
||||
typer,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymodbus";
|
||||
version = "3.6.6";
|
||||
version = "3.6.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pymodbus-dev";
|
||||
repo = "pymodbus";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-CnMCHFwzNyzTgVyFDSlE7ggI6eXXYbtGuERIomUa3uA=";
|
||||
hash = "sha256-SbfvVaIpTz4Mzojx9y13lYei4dEz+1NQEE/7bwz29tQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -36,9 +37,7 @@ buildPythonPackage rec {
|
|||
--replace-fail "--cov-report html " ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
repl = [
|
||||
|
@ -48,9 +47,7 @@ buildPythonPackage rec {
|
|||
pygments
|
||||
click
|
||||
] ++ typer.optional-dependencies.all;
|
||||
serial = [
|
||||
pyserial
|
||||
];
|
||||
serial = [ pyserial ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -70,22 +67,21 @@ buildPythonPackage rec {
|
|||
popd
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pymodbus"
|
||||
];
|
||||
pythonImportsCheck = [ "pymodbus" ];
|
||||
|
||||
disabledTests = [
|
||||
# Tests often hang
|
||||
"test_connected"
|
||||
] ++ lib.optionals (lib.versionAtLeast aiohttp.version "3.9.0") [
|
||||
"test_split_serial_packet"
|
||||
"test_serial_poll"
|
||||
"test_simulator"
|
||||
];
|
||||
disabledTests =
|
||||
[
|
||||
# Tests often hang
|
||||
"test_connected"
|
||||
]
|
||||
++ lib.optionals (lib.versionAtLeast aiohttp.version "3.9.0") [
|
||||
"test_split_serial_packet"
|
||||
"test_serial_poll"
|
||||
"test_simulator"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the Modbus protocol";
|
||||
mainProgram = "pymodbus.simulator";
|
||||
longDescription = ''
|
||||
Pymodbus is a full Modbus protocol implementation using twisted,
|
||||
torndo or asyncio for its asynchronous communications core. It can
|
||||
|
@ -96,5 +92,6 @@ buildPythonPackage rec {
|
|||
changelog = "https://github.com/pymodbus-dev/pymodbus/releases/tag/v${version}";
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "pymodbus.simulator";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-docs-theme";
|
||||
version = "2024.3";
|
||||
version = "2024.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
owner = "python";
|
||||
repo = "python-docs-theme";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-caQqoXKdKA0W5qLphYbTxrP8Qx5teJD5+MSyaifyf/A=";
|
||||
hash = "sha256-x1r71/Urpqf0FtL2Bao5SgsRQfmwym34F7qYzxFkT5c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,25 +1,26 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, aiohttp
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, construct
|
||||
, dacite
|
||||
, fetchFromGitHub
|
||||
, paho-mqtt
|
||||
, poetry-core
|
||||
, pycryptodome
|
||||
, pycryptodomex
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
construct,
|
||||
dacite,
|
||||
fetchFromGitHub,
|
||||
paho-mqtt,
|
||||
poetry-core,
|
||||
pycryptodome,
|
||||
pycryptodomex,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-roborock";
|
||||
version = "0.41.0";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
@ -28,7 +29,7 @@ buildPythonPackage rec {
|
|||
owner = "humbertogontijo";
|
||||
repo = "python-roborock";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Kh7u1UWqmfmxY6yWaBaUpe20Xc/DTryoymKgIYg/kiM=";
|
||||
hash = "sha256-izstUq7ICFNJ9v8+uB7JeMuzmOazP22As5VKDinXemU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -36,14 +37,11 @@ buildPythonPackage rec {
|
|||
--replace "poetry-core==1.8.0" "poetry-core"
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pycryptodome"
|
||||
];
|
||||
pythonRelaxDeps = [ "pycryptodome" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
|
@ -53,25 +51,21 @@ buildPythonPackage rec {
|
|||
dacite
|
||||
paho-mqtt
|
||||
pycryptodome
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
pycryptodomex
|
||||
];
|
||||
] ++ lib.optionals stdenv.isDarwin [ pycryptodomex ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"roborock"
|
||||
];
|
||||
pythonImportsCheck = [ "roborock" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library & console tool for controlling Roborock vacuum";
|
||||
mainProgram = "roborock";
|
||||
homepage = "https://github.com/humbertogontijo/python-roborock";
|
||||
changelog = "https://github.com/humbertogontijo/python-roborock/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "roborock";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvex";
|
||||
version = "9.2.97";
|
||||
version = "9.2.98";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-GIBsWtj8nLuzGX/C6Ioe8mSfKg3QXtEJf3+d5h9M02c=";
|
||||
hash = "sha256-+X4G5jLG7c75XIItNlQLF5YV0XUQwdA6JyF1IGBfiE0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
|
@ -18,16 +18,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "rapidfuzz";
|
||||
version = "3.7.0";
|
||||
version = "3.8.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxbachmann";
|
||||
repo = "RapidFuzz";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-BwU9Ti35Dsaa+kT78h3lsjw4sI1RQdhukTPTeJDyBw0=";
|
||||
hash = "sha256-ljuqezL/Iu4VQelPi7KApBknDrWzikX7FD5iw5NcOL4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
|||
--replace-fail "Cython >=3.0.9, <3.1.0" "Cython"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
cmake
|
||||
cython_3
|
||||
ninja
|
||||
|
|
|
@ -25,7 +25,7 @@ let
|
|||
pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion;
|
||||
srcs = import ./binary-hashes.nix version;
|
||||
unsupported = throw "Unsupported system";
|
||||
version = "2.2.1";
|
||||
version = "2.2.2";
|
||||
in buildPythonPackage {
|
||||
inherit version;
|
||||
|
||||
|
|
|
@ -6,86 +6,86 @@
|
|||
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
||||
|
||||
version : builtins.getAttr version {
|
||||
"2.2.1" = {
|
||||
"2.2.2" = {
|
||||
x86_64-linux-38 = {
|
||||
name = "torch-2.2.1-cp38-cp38-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.1%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||
hash = "sha256-OIDrgRsT+PGl/DKC5FVnS5qfpnOrJW8GOOK09JUlFsM=";
|
||||
name = "torch-2.2.2-cp38-cp38-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||
hash = "sha256-wXi+srsB93NgF3e8SBx2Ub5bHxic8YDwwKzqwHiaqaU=";
|
||||
};
|
||||
x86_64-linux-39 = {
|
||||
name = "torch-2.2.1-cp39-cp39-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.1%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||
hash = "sha256-HLN5h0E455jAK0GWLdnU7AsGOoykWlEJfzJmFUd8m9A=";
|
||||
name = "torch-2.2.2-cp39-cp39-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||
hash = "sha256-EU6TlYZ+6GAWZWLYzB8oCSJfnil4PdXnIXXZqaeoUFw=";
|
||||
};
|
||||
x86_64-linux-310 = {
|
||||
name = "torch-2.2.1-cp310-cp310-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.1%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||
hash = "sha256-Gt9DDwH/ZJyEisAheF4YAHsHFP3eaOTmW9DGQL8/uOE=";
|
||||
name = "torch-2.2.2-cp310-cp310-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||
hash = "sha256-yt5P1sjOfYJtvPq9ZfHVOw7goFjbjBgJ1lv9YFG1VTA=";
|
||||
};
|
||||
x86_64-linux-311 = {
|
||||
name = "torch-2.2.1-cp311-cp311-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.1%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||
hash = "sha256-I7souoAPJanTPVF2i/X976AiDLxc2aF/ItKkJig1lGg=";
|
||||
name = "torch-2.2.2-cp311-cp311-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||
hash = "sha256-TJTk0aItcKu9/3Ft7Jm6Xv+UtDQP+nO0+2KflA27inU=";
|
||||
};
|
||||
x86_64-darwin-38 = {
|
||||
name = "torch-2.2.1-cp38-none-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp38-none-macosx_10_9_x86_64.whl";
|
||||
hash = "sha256-YXaFhegqmdxcQZM759ucoGf6451F/r1RA8yKBNUkSRg=";
|
||||
name = "torch-2.2.2-cp38-none-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp38-none-macosx_10_9_x86_64.whl";
|
||||
hash = "sha256-gVF29iyPN8z7shCBwHaaiLG6pptxaRGapCtl7l8QTi0=";
|
||||
};
|
||||
x86_64-darwin-39 = {
|
||||
name = "torch-2.2.1-cp39-none-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp39-none-macosx_10_9_x86_64.whl";
|
||||
hash = "sha256-o6OqT5rSqLjnLBqElA2MWd1O7SkbyytgOta1hJgwYvU=";
|
||||
name = "torch-2.2.2-cp39-none-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp39-none-macosx_10_9_x86_64.whl";
|
||||
hash = "sha256-8TdigY3CgP7KfjD2CZWhe6jR0asz/vttB/0sj/FXHqo=";
|
||||
};
|
||||
x86_64-darwin-310 = {
|
||||
name = "torch-2.2.1-cp310-none-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp310-none-macosx_10_9_x86_64.whl";
|
||||
hash = "sha256-531ee2Cn4cI0XGSC/4dvNqDwQ+a+Mu9Y2sQWxKoOOyg=";
|
||||
name = "torch-2.2.2-cp310-none-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp310-none-macosx_10_9_x86_64.whl";
|
||||
hash = "sha256-5nfE102wz8KxCSPeG95XXZgculRQXdwIKwUI2WQRmFA=";
|
||||
};
|
||||
x86_64-darwin-311 = {
|
||||
name = "torch-2.2.1-cp311-none-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp311-none-macosx_10_9_x86_64.whl";
|
||||
hash = "sha256-lkeM9Oc3ADBZee0cp2tTVTbUYvMDAqNe3Rzu4MPYB9M=";
|
||||
name = "torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl";
|
||||
hash = "sha256-QwDLu00EKMUbXBlBkBaQGNW4GP2fb6/Ci76P2E3tF0A=";
|
||||
};
|
||||
aarch64-darwin-38 = {
|
||||
name = "torch-2.2.1-cp38-none-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp38-none-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-fX1aq00JspIgKXkbacgDq6HAWcYP9lYj8ddFgMFHvUw=";
|
||||
name = "torch-2.2.2-cp38-none-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp38-none-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-7RTSpDZEIEkDg9JveQCj99XFDDLlzf3d3/+Dd22eD9Q=";
|
||||
};
|
||||
aarch64-darwin-39 = {
|
||||
name = "torch-2.2.1-cp39-none-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp39-none-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-uQZpsWKYTjAvvQXJwnDveW5GeQOUTs76dFe6vpYRYH4=";
|
||||
name = "torch-2.2.2-cp39-none-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp39-none-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-/q2//ddjTP40Xqh9fuQDGzAPnHZFIFkOA0idZYtpMds=";
|
||||
};
|
||||
aarch64-darwin-310 = {
|
||||
name = "torch-2.2.1-cp310-none-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp310-none-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-Ur3sHiLQg4L9mNttK/F6KU0P1TJgz9ZPuHRDSSy6xrQ=";
|
||||
name = "torch-2.2.2-cp310-none-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp310-none-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-tSDRTS8oEK1dp1i+oQyveXjvNkNWW8APkN6JLgDXeSU=";
|
||||
};
|
||||
aarch64-darwin-311 = {
|
||||
name = "torch-2.2.1-cp311-none-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp311-none-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-zNmEmw3TcKmBPd3kenf0OciqzOAi5LoL+TZRc9WAgJY=";
|
||||
name = "torch-2.2.2-cp311-none-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-gipYlnXLqKzwRX1qTltspEGtO0w6RKHLyPizGueWRF4=";
|
||||
};
|
||||
aarch64-linux-38 = {
|
||||
name = "torch-2.2.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
hash = "sha256-y4ThL9QAXHh/zkDto96sBCmPWQY0iRBixM2yzywUIiE=";
|
||||
name = "torch-2.2.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
hash = "sha256-mJTc3W71tbYDzYzqPjcR+eJ3CC/3sPFLFSb90ay4JSE=";
|
||||
};
|
||||
aarch64-linux-39 = {
|
||||
name = "torch-2.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
hash = "sha256-7g90adoiGNyHlIV1DaF6JF3DaRbi+cX8CDbkz1cq0H0=";
|
||||
name = "torch-2.2.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
hash = "sha256-1dhev9E/fNA+UGMlP4R57RpXBSZBZtXdH8abS5YjGyA=";
|
||||
};
|
||||
aarch64-linux-310 = {
|
||||
name = "torch-2.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
hash = "sha256-8BgwAuGJeNWYw+6JGcLmSCAsf+u5CIFRVshmxSTEo1k=";
|
||||
name = "torch-2.2.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
hash = "sha256-OiwHUhgIHvnHv4xVxwbyNtrrt1PaQd5JispxYyVzgL0=";
|
||||
};
|
||||
aarch64-linux-311 = {
|
||||
name = "torch-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
hash = "sha256-fyaXQWtneZbuHzCyZ2qKlN3b44ijXDYdyG6RW9pHt9o=";
|
||||
name = "torch-2.2.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl";
|
||||
hash = "sha256-WUgt9dxA2uEF5z9I3Sk/TMxndkCCLCzjQnOjh1SZA64=";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ let
|
|||
in buildPythonPackage rec {
|
||||
pname = "torch";
|
||||
# Don't forget to update torch-bin to the same version.
|
||||
version = "2.2.1";
|
||||
version = "2.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8.0";
|
||||
|
@ -148,7 +148,7 @@ in buildPythonPackage rec {
|
|||
repo = "pytorch";
|
||||
rev = "refs/tags/v${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-6z8G5nMbGHbpA+xfmOR726h9E4N9NoEtaFgcYE0DuUE=";
|
||||
hash = "sha256-la9wL9pOlgrSfq5V8aRKXt3hjW+Er/6484m0oUujlzk=";
|
||||
};
|
||||
|
||||
patches = lib.optionals cudaSupport [
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "torchaudio";
|
||||
version = "2.2.1";
|
||||
version = "2.2.2";
|
||||
format = "wheel";
|
||||
|
||||
src =
|
||||
|
|
|
@ -6,86 +6,86 @@
|
|||
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
||||
|
||||
version : builtins.getAttr version {
|
||||
"2.2.1" = {
|
||||
"2.2.2" = {
|
||||
x86_64-linux-38 = {
|
||||
name = "torchaudio-2.2.1-cp38-cp38-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.1%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||
hash = "sha256-XU/trqM3W8hQ+9kI6G1b+GAbp9eCPFId6+jY3lwiZYg=";
|
||||
name = "torchaudio-2.2.2-cp38-cp38-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||
hash = "sha256-KPwkn2+sVuS9GbZdk7f6lSJ956D1WLY2YS7k3qE3tog=";
|
||||
};
|
||||
x86_64-linux-39 = {
|
||||
name = "torchaudio-2.2.1-cp39-cp39-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.1%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||
hash = "sha256-LQScsJsPn+EE0goKRwIW/Fzo+SW9SYVuZYDi2Vn1syg=";
|
||||
name = "torchaudio-2.2.2-cp39-cp39-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||
hash = "sha256-YzzBeuAiMH0HPyZhvK/z9Q2bPW99MukXMFRCAybiDRs=";
|
||||
};
|
||||
x86_64-linux-310 = {
|
||||
name = "torchaudio-2.2.1-cp310-cp310-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.1%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||
hash = "sha256-I/YjZCniv2drgg6OciGh1YqvkIv/K6JmWqhS33GpeWE=";
|
||||
name = "torchaudio-2.2.2-cp310-cp310-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||
hash = "sha256-/eGFVNhP0AR1iPC87QPXcPZVPxeFGjtEE3kWShPJmwc=";
|
||||
};
|
||||
x86_64-linux-311 = {
|
||||
name = "torchaudio-2.2.1-cp311-cp311-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.1%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||
hash = "sha256-YJACsObf9ED81qY9FcA8PTdOIU56iqYcLvSlKLpkTDk=";
|
||||
name = "torchaudio-2.2.2-cp311-cp311-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchaudio-2.2.2%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||
hash = "sha256-DgdNBcIlizAU3aAu7wB60Xq0TP0B2XgMmpFOXZcqwAs=";
|
||||
};
|
||||
x86_64-darwin-38 = {
|
||||
name = "torchaudio-2.2.1-cp38-cp38-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp38-cp38-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-ge+I12k+O5kAfR7nQv2Buakjmey/iOt+1plJRDAF/7o=";
|
||||
name = "torchaudio-2.2.2-cp38-cp38-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp38-cp38-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-jOTfBlqUmRHStngqpME2h++t6iP/x8em8V9+euXIlSQ=";
|
||||
};
|
||||
x86_64-darwin-39 = {
|
||||
name = "torchaudio-2.2.1-cp39-cp39-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp39-cp39-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-Azn+eO2cKfcEKWdhsouwVbU1BiX/UDrXgXBDl5NOa1g=";
|
||||
name = "torchaudio-2.2.2-cp39-cp39-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp39-cp39-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-23CxOocaSUh72QQr8EsS90rtd7GofS++to0J2bZLxSg=";
|
||||
};
|
||||
x86_64-darwin-310 = {
|
||||
name = "torchaudio-2.2.1-cp310-cp310-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp310-cp310-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-WA7v12SgGmTVtqomDAxHl0vmppZIktVAKac7F/RhH80=";
|
||||
name = "torchaudio-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp310-cp310-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-sdWCAdEI6F2z41uEMZ8ziE9h8yfDjq2GkTIYyMGsw90=";
|
||||
};
|
||||
x86_64-darwin-311 = {
|
||||
name = "torchaudio-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp311-cp311-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-J0y4R0vB5Wt2jvNH0xiGYcWp1eaOLfVvwK/xHMc8kWo=";
|
||||
name = "torchaudio-2.2.2-cp311-cp311-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp311-cp311-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-8agaUYo+hsAEEl64kfxDPOj7I0MpW11hLQ83sk4THv0=";
|
||||
};
|
||||
aarch64-darwin-38 = {
|
||||
name = "torchaudio-2.2.1-cp38-cp38-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp38-cp38-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-9Ien0xd65q8BZ1CFDuk3iOiAIYoaMQvGx2kB4hL5HNM=";
|
||||
name = "torchaudio-2.2.2-cp38-cp38-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp38-cp38-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-s7ir4msGfpxKbj26FWuR16hSR+iN2nC3xDhZ9VuXjdw=";
|
||||
};
|
||||
aarch64-darwin-39 = {
|
||||
name = "torchaudio-2.2.1-cp39-cp39-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp39-cp39-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-aLHZ+P/psm7wToDYKuLcL3Sxoetkw+itIbUlgCs7x6w=";
|
||||
name = "torchaudio-2.2.2-cp39-cp39-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp39-cp39-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-S3ioShib89pLlmN1zr3sxYSk3F9g4L3nIdc0Ae1crUU=";
|
||||
};
|
||||
aarch64-darwin-310 = {
|
||||
name = "torchaudio-2.2.1-cp310-cp310-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp310-cp310-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-itVcIGmye74Y4UeDogLj8/gIL+nlkoFDa6eX7bD8lNU=";
|
||||
name = "torchaudio-2.2.2-cp310-cp310-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp310-cp310-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-pSDhTqC6idncJ5IutGCfnqxcAcJ5gw4PIWucngF9Q4s=";
|
||||
};
|
||||
aarch64-darwin-311 = {
|
||||
name = "torchaudio-2.2.1-cp311-cp311-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp311-cp311-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-HmLCexdnLMK92WY2geUzAA+cCYTmoPPUVfcFG8AFuwI=";
|
||||
name = "torchaudio-2.2.2-cp311-cp311-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp311-cp311-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-AUgvyFEX+F7kT4qo6cEbHAIjJhc+B0h4ntQrIZECk38=";
|
||||
};
|
||||
aarch64-linux-38 = {
|
||||
name = "torchaudio-2.2.1-cp38-cp38-manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp38-cp38-linux_aarch64.whl";
|
||||
hash = "sha256-pEYrPyFPYLa4944SpM8Skcm8NT3u1wmsPf3tvtUTp6M=";
|
||||
name = "torchaudio-2.2.2-cp38-cp38-manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp38-cp38-linux_aarch64.whl";
|
||||
hash = "sha256-T3VqbmZ92IQb8hoH6tPv7ap6J9VYUnecJm9vKhBkyZQ=";
|
||||
};
|
||||
aarch64-linux-39 = {
|
||||
name = "torchaudio-2.2.1-cp39-cp39-manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp39-cp39-linux_aarch64.whl";
|
||||
hash = "sha256-yy2girt7aNx7AQV0ixpzbdMzKfhBN0AT7ALFTgS+3yk=";
|
||||
name = "torchaudio-2.2.2-cp39-cp39-manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp39-cp39-linux_aarch64.whl";
|
||||
hash = "sha256-cj9OV7XQwSA1fKYM1VtObPrIRbwOzMtLQXpEqk68Ums=";
|
||||
};
|
||||
aarch64-linux-310 = {
|
||||
name = "torchaudio-2.2.1-cp310-cp310-manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp310-cp310-linux_aarch64.whl";
|
||||
hash = "sha256-uRa3dkaYupMZqjslUZE5iS3oZl2EQ4lpusXh2FeMahE=";
|
||||
name = "torchaudio-2.2.2-cp310-cp310-manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp310-cp310-linux_aarch64.whl";
|
||||
hash = "sha256-sPOOfTVIkU14qvwn/wD3cBsaUL/N3FiWX1RfySzNSmY=";
|
||||
};
|
||||
aarch64-linux-311 = {
|
||||
name = "torchaudio-2.2.1-cp311-cp311-manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.1-cp311-cp311-linux_aarch64.whl";
|
||||
hash = "sha256-ILKWXbT4QwIWNvU9P6sQdcP4lZxFDGR2KRJNJMfmy7A=";
|
||||
name = "torchaudio-2.2.2-cp311-cp311-manylinux2014_aarch64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchaudio-2.2.2-cp311-cp311-linux_aarch64.whl";
|
||||
hash = "sha256-CgOki21V0X1I9Bmn8dDUAY1IoEx2WFwWqbXmkoH5L5Q=";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ let
|
|||
pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion;
|
||||
srcs = import ./binary-hashes.nix version;
|
||||
unsupported = throw "Unsupported system";
|
||||
version = "0.17.1";
|
||||
version = "0.17.2";
|
||||
in buildPythonPackage {
|
||||
inherit version;
|
||||
|
||||
|
|
|
@ -6,66 +6,66 @@
|
|||
# To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows.
|
||||
|
||||
version : builtins.getAttr version {
|
||||
"0.17.1" = {
|
||||
"0.17.2" = {
|
||||
x86_64-linux-38 = {
|
||||
name = "torchvision-0.17.1-cp38-cp38-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.1%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||
hash = "sha256-oCRjQQZPPBdtqKpuMvATD2ACOAyQruqOMccY3ixUZOE=";
|
||||
name = "torchvision-0.17.2-cp38-cp38-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp38-cp38-linux_x86_64.whl";
|
||||
hash = "sha256-3450y7tN4KYPEc18KNggEWAnzTlJiT+XxVtvEjJr168=";
|
||||
};
|
||||
x86_64-linux-39 = {
|
||||
name = "torchvision-0.17.1-cp39-cp39-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.1%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||
hash = "sha256-WsK2vDCcNDud6KklczHPcVtm+qm1kiep8HDZ4BJS5go=";
|
||||
name = "torchvision-0.17.2-cp39-cp39-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp39-cp39-linux_x86_64.whl";
|
||||
hash = "sha256-839ZLjEovz2ZloraWhKPEY+a7R2rYJ4nKscjEUb8aEM=";
|
||||
};
|
||||
x86_64-linux-310 = {
|
||||
name = "torchvision-0.17.1-cp310-cp310-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.1%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||
hash = "sha256-J69HkV9udiwdROWOgIjSKsl0RWaPn3k1JAMrK69PNL0=";
|
||||
name = "torchvision-0.17.2-cp310-cp310-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp310-cp310-linux_x86_64.whl";
|
||||
hash = "sha256-wPMlY1+INPpV5pq2EHX7K7y7RTlamFu6HbN4sVYnEEs=";
|
||||
};
|
||||
x86_64-linux-311 = {
|
||||
name = "torchvision-0.17.1-cp311-cp311-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.1%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||
hash = "sha256-bYKfOZSQQCWyiXHMxhvWbt2VKATyEipuEENQuOkXL08=";
|
||||
name = "torchvision-0.17.2-cp311-cp311-linux_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp311-cp311-linux_x86_64.whl";
|
||||
hash = "sha256-BZ+GocjSsnayZshKj1qSzIQm1DwqLCSNxzwUCrOoIvM=";
|
||||
};
|
||||
x86_64-darwin-38 = {
|
||||
name = "torchvision-0.17.1-cp38-cp38-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.1-cp38-cp38-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-JiEJcGX6HIJ4heK1IQLoOaNUG5M7epDg+jxCw94bw88=";
|
||||
name = "torchvision-0.17.2-cp38-cp38-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp38-cp38-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-uDqsjXj0iYEUbVghaNdbbJR8+wp2k/duIZ8ZJvbllaM=";
|
||||
};
|
||||
x86_64-darwin-39 = {
|
||||
name = "torchvision-0.17.1-cp39-cp39-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.1-cp39-cp39-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-WCmacks3uJPHzk0LMuoUgMMORnzBFBZ5ZLRfYBP2wtM=";
|
||||
name = "torchvision-0.17.2-cp39-cp39-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp39-cp39-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-SGi7+lV1jIEH5poOfdXne4kFYDXNOLdnrVuYzbccDw0=";
|
||||
};
|
||||
x86_64-darwin-310 = {
|
||||
name = "torchvision-0.17.1-cp310-cp310-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.1-cp310-cp310-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-BkGIgCErZuRehV3Tn1Nuf9SLTmsDShHdn+niOEr7Uew=";
|
||||
name = "torchvision-0.17.2-cp310-cp310-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp310-cp310-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-HykQ/jwhrWh1snINRvrYNbLkszbpVT0xyjZNJMkLHU8=";
|
||||
};
|
||||
x86_64-darwin-311 = {
|
||||
name = "torchvision-0.17.1-cp311-cp311-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.1-cp311-cp311-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-6izNv1l04L8n/WZEozsZywcAKXzzl7sEaediwRxsQQU=";
|
||||
name = "torchvision-0.17.2-cp311-cp311-macosx_10_9_x86_64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp311-cp311-macosx_10_13_x86_64.whl";
|
||||
hash = "sha256-m4PlXufQoXBPUrnArIc4jnptHZimveews1+atU172lQ=";
|
||||
};
|
||||
aarch64-darwin-38 = {
|
||||
name = "torchvision-0.17.1-cp38-cp38-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.1-cp38-cp38-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-XOdkZq8rWjBXOTnK4ebmLikxbOs+50gJEALzEqsJEvY=";
|
||||
name = "torchvision-0.17.2-cp38-cp38-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp38-cp38-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-Hs5AVX4SLXmXWGCgBap+Kp4ubDUKA+eKAOwUUAgzEv0=";
|
||||
};
|
||||
aarch64-darwin-39 = {
|
||||
name = "torchvision-0.17.1-cp39-cp39-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.1-cp39-cp39-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-ihsX+xWLK4gfLIeW/hg5piTknV/QeqYfba5gukgZQho=";
|
||||
name = "torchvision-0.17.2-cp39-cp39-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp39-cp39-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-79bQ3QZo4V0Bos/63HQGhDOzLLz1aS4MSqFfxcslDOc=";
|
||||
};
|
||||
aarch64-darwin-310 = {
|
||||
name = "torchvision-0.17.1-cp310-cp310-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.1-cp310-cp310-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-M9ZdDH/cs/e8HdjtMOo81+BYe0rRsQS1Z3yBkai62fE=";
|
||||
name = "torchvision-0.17.2-cp310-cp310-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp310-cp310-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-7MHFA/qKVPurd34Gp8IoAyuKt47+vzWyi8jyL1RPUfE=";
|
||||
};
|
||||
aarch64-darwin-311 = {
|
||||
name = "torchvision-0.17.1-cp311-cp311-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.1-cp311-cp311-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-kQbjLJ8ecK+oFyzxsGTPnCmY2N/wdp7GnVN7ICCe5D0=";
|
||||
name = "torchvision-0.17.2-cp311-cp311-macosx_11_0_arm64.whl";
|
||||
url = "https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp311-cp311-macosx_11_0_arm64.whl";
|
||||
hash = "sha256-4DEAShvEMsmAp71kL2wYmj78MW5CP8MLVWmDcWak4o0=";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ let
|
|||
inherit (cudaPackages) backendStdenv;
|
||||
|
||||
pname = "torchvision";
|
||||
version = "0.17.1";
|
||||
version = "0.17.2";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
@ -26,7 +26,7 @@ buildPythonPackage {
|
|||
owner = "pytorch";
|
||||
repo = "vision";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-K2irwwf6qgyfZqJH1NUasDmBSA4mH2Rclx7A7zP4kiQ=";
|
||||
hash = "sha256-Y7TkdbdrdiXQO2pBkUePCLw1EYQjsAqkV2OTMzxbU78=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "trimesh";
|
||||
version = "4.2.4";
|
||||
version = "4.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ausgFjhYe0b/hd+szti4GpMil3NF6/yuXSajy/1JZXY=";
|
||||
hash = "sha256-kUXi26NhFGS3liGaGHfm0HTRWXlnaIa80lxgLQ/0FyM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "xyzservices";
|
||||
version = "2023.10.1";
|
||||
version = "2024.4.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-CRIpJpBDvIJYBC7b7a1Py0RoSwRz7eAntWcq1A3J+gI=";
|
||||
hash = "sha256-agTxFIem+3fZKpiYTNEH+9kVf9XmX5Ka3Zw9bmBO6Iw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -546,6 +546,7 @@ let
|
|||
bayesWatch = [ pkgs.boost.dev ];
|
||||
clustermq = [ pkgs.pkg-config ];
|
||||
coga = [ pkgs.gsl.dev ];
|
||||
deepSNV = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
|
||||
gpg = [ pkgs.gpgme ];
|
||||
webp = [ pkgs.libwebp ];
|
||||
RMark = [ pkgs.which ];
|
||||
|
@ -606,6 +607,7 @@ let
|
|||
s2 = [ pkgs.openssl.dev ];
|
||||
ArrayExpressHTS = with pkgs; [ zlib.dev curl.dev which ];
|
||||
bbl = with pkgs; [ gsl ];
|
||||
diffHic = with pkgs; [ xz.dev bzip2.dev ];
|
||||
writexl = with pkgs; [ zlib.dev ];
|
||||
xslt = with pkgs; [ libxslt libxml2 ];
|
||||
qpdf = with pkgs; [ libjpeg.dev zlib.dev ];
|
||||
|
@ -625,7 +627,9 @@ let
|
|||
HiCDCPlus = [ pkgs.zlib.dev ];
|
||||
PopGenome = [ pkgs.zlib.dev ];
|
||||
QuasR = with pkgs; [ zlib.dev xz.dev bzip2.dev ];
|
||||
Rarr = [ pkgs.zlib.dev ];
|
||||
Rbowtie2 = [ pkgs.zlib.dev ];
|
||||
Rfastp = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
|
||||
maftools = with pkgs; [ zlib.dev bzip2 xz.dev ];
|
||||
Rmmquant = [ pkgs.zlib.dev ];
|
||||
SICtools = with pkgs; [ zlib.dev ncurses.dev ];
|
||||
|
@ -648,7 +652,7 @@ let
|
|||
rhdf5filters = with pkgs; [ zlib.dev bzip2.dev ];
|
||||
symengine = with pkgs; [ mpfr symengine flint ];
|
||||
rtk = [ pkgs.zlib.dev ];
|
||||
scPipe = [ pkgs.zlib.dev ];
|
||||
scPipe = with pkgs; [ bzip2.dev xz.dev zlib.dev ];
|
||||
seqTools = [ pkgs.zlib.dev ];
|
||||
seqbias = [ pkgs.zlib.dev ];
|
||||
sparkwarc = [ pkgs.zlib.dev ];
|
||||
|
@ -950,6 +954,7 @@ let
|
|||
"ReactomeContentService4R" # tries to connect to Reactome
|
||||
"pbdMPI" # tries to run MPI processes
|
||||
"data_table" # fails to rename shared library before check
|
||||
"multiMiR" # tries to connect to DB
|
||||
];
|
||||
|
||||
# Packages which cannot be installed due to lack of dependencies or other reasons.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
pname = "allure";
|
||||
version = "2.27.0";
|
||||
version = "2.28.0";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
inherit pname version;
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/allure-framework/allure2/releases/download/${version}/allure-${version}.tgz";
|
||||
sha256 = "sha256-gasOVDCNxuZlyeDbloV6iL6DAInHPEXHAvnfUfoj+gA=";
|
||||
sha256 = "sha256-n+wmmY2936PQkHuS9DS7f51n3Eko/OM7nHHFbi85+Lk=";
|
||||
};
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
|
|
@ -127,7 +127,7 @@ in (chromium.override { upstream-info = info.chromium; }).mkDerivation (base: {
|
|||
for patch in $(cat $patch_dir/.patches)
|
||||
do
|
||||
echo applying in $repo: $patch
|
||||
git apply -p1 --directory=$repo --exclude='src/third_party/blink/web_tests/*' $patch_dir/$patch
|
||||
git apply -p1 --directory=$repo --exclude='src/third_party/blink/web_tests/*' --exclude='src/content/test/data/*' $patch_dir/$patch
|
||||
done
|
||||
done
|
||||
)
|
||||
|
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
buildNpmPackage rec {
|
||||
pname = "firebase-tools";
|
||||
version = "13.6.1";
|
||||
version = "13.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "firebase";
|
||||
repo = "firebase-tools";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-2L1bmv47H0VXviCXTIA72+QWNIRnC4BDwXlyTB4YHnM=";
|
||||
hash = "sha256-NTO4DhRwdCeufkeec6kMw1CEj/cZqk3S+vy9R7TArXU=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-Pp3AbodWh/oRfsylMs2iq6qKMIcKtXl9qFZCsCx8CZs=";
|
||||
npmDepsHash = "sha256-MgICHHZBgD80vZLfS9WUwvotorc0OAHzGaw+S0tjyQo=";
|
||||
|
||||
postPatch = ''
|
||||
ln -s npm-shrinkwrap.json package-lock.json
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "yabai";
|
||||
version = "7.0.4";
|
||||
version = "7.1.0";
|
||||
|
||||
src = finalAttrs.passthru.sources.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
|
@ -85,14 +85,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
# See the comments on https://github.com/NixOS/nixpkgs/pull/188322 for more information.
|
||||
"aarch64-darwin" = fetchzip {
|
||||
url = "https://github.com/koekeishiya/yabai/releases/download/v${finalAttrs.version}/yabai-v${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-eOgdCW3BEB9vn9lui7Ib6uWl5MSAnHh3ztqHCWshCv8=";
|
||||
hash = "sha256-88Sh2nizAQ0a0cnlnrkhb5x3VjHa372HhjHlmNjGdQ4=";
|
||||
};
|
||||
"x86_64-darwin" = fetchFromGitHub
|
||||
{
|
||||
owner = "koekeishiya";
|
||||
repo = "yabai";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-yj7ISrBzVIDGsDQ1D+vDm9PapsZmi5fk1m3cGuzBR7w=";
|
||||
hash = "sha256-5iC1U6tyUYFLjOfnIxCrjCjj2deUZ/rvsJN4jlrr2Tc=";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
./0017-meson.build-do-not-create-systemdstatedir.patch
|
||||
] ++ lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu) [
|
||||
./0018-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch
|
||||
] ++ lib.optional (stdenv.hostPlatform.isPower || stdenv.hostPlatform.isRiscV) [
|
||||
] ++ lib.optional (stdenv.hostPlatform.isPower || stdenv.hostPlatform.isRiscV || stdenv.hostPlatform.isMips) [
|
||||
# Fixed upstream and included in the main and stable branches. Can be dropped
|
||||
# when bumping to >= v255.5.
|
||||
# https://github.com/systemd/systemd/issues/30448
|
||||
|
|
|
@ -99,8 +99,7 @@ stdenv.mkDerivation rec {
|
|||
nixpkgs="$(git rev-parse --show-toplevel)"
|
||||
default_nix="$nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix"
|
||||
latestDate="$(curl -L -s https://api.github.com/repos/ohmyzsh/ohmyzsh/commits/$latestSha | jq '.commit.committer.date' | sed 's|"\(.*\)T.*|\1|g')"
|
||||
update-source-version oh-my-zsh "$latestSha" --version-key=rev
|
||||
update-source-version oh-my-zsh "$latestDate" --ignore-same-hash
|
||||
update-source-version oh-my-zsh "$latestDate" --rev="$latestSha"
|
||||
nixfmt "$default_nix"
|
||||
else
|
||||
echo "${pname} is already up-to-date"
|
||||
|
|
|
@ -26,7 +26,18 @@ let
|
|||
|
||||
# keep the scope, as it is used throughout the derivation and tests
|
||||
# this also makes potential future overrides easier
|
||||
pythonPackages = python3.pkgs.overrideScope (final: prev: rec { });
|
||||
pythonPackages = python3.pkgs.overrideScope (final: prev: rec {
|
||||
# Flask 5.4.3 introduces an CSRF error which makes it impossible to login
|
||||
# So either we downgrade flask here or use "WTF_CSRF_ENABLED = false" in the
|
||||
# module config to disable CSRF.
|
||||
flask-security-too = prev.flask-security-too.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "5.4.1";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
hash = "sha256-Ay7+gk+zuUlXtw0LDdsnvSa22z+yE6VR1guu9QmiFvw=";
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = ./yarn.lock;
|
||||
|
|
|
@ -196,5 +196,6 @@ python.pkgs.buildPythonApplication rec {
|
|||
description = "Deep learning toolkit for Text-to-Speech, battle-tested in research and production";
|
||||
license = licenses.mpl20;
|
||||
maintainers = teams.tts.members;
|
||||
broken = true; # added 2024-04-08
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cyberchef";
|
||||
version = "10.15.0";
|
||||
version = "10.15.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip";
|
||||
sha256 = "sha256-QXVqFMG6NJeeTON7w+46MjWXs1bIRL2ji047IvHgvYI=";
|
||||
sha256 = "sha256-IJ3Id/Pn6KVBQwRFBpECDkeEXQ9J2WRK4NgeSqZoP8w=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pferd";
|
||||
version = "3.5.0";
|
||||
version = "3.5.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Garmelon";
|
||||
repo = "PFERD";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-iGMqKRM/8pnnew/U1r7Od9Giyn9z4BxVGO85nw3FI9Y=";
|
||||
sha256 = "sha256-NNQ7yB0JPVDSWMNxkpvEK/meLa3Db78qxUDDTJa6YgM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
ocamlPackages.buildDunePackage rec {
|
||||
pname = "wayland-proxy-virtwl";
|
||||
version = "unstable-2024-04-05";
|
||||
version = "unstable-2024-04-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "talex5";
|
||||
repo = pname;
|
||||
rev = "99d6b3fb8e5e226dd2f8bf01b788fd69e1e1ae62";
|
||||
sha256 = "sha256-BkQK5VGME/HA09brZ61jmjtCQG/s34MwdP0Nc80crkA=";
|
||||
rev = "57dea8de065f5a155d97a32a929bbb2b1ba6b53a";
|
||||
sha256 = "sha256-mp/Y13MwdKo7f3E9S0Pnvb3Cb4d6szkIQOFteMrVxCk=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "5.0";
|
||||
|
|
|
@ -39768,6 +39768,8 @@ with pkgs;
|
|||
|
||||
kmon = callPackage ../tools/system/kmon { };
|
||||
|
||||
kmonad = haskellPackages.kmonad.bin;
|
||||
|
||||
kompose = callPackage ../applications/networking/cluster/kompose { };
|
||||
|
||||
kompute = callPackage ../development/libraries/kompute {
|
||||
|
|
|
@ -270,7 +270,7 @@ let
|
|||
cabal-install
|
||||
cabal2nix
|
||||
cachix
|
||||
carp
|
||||
# carp broken on 2024-04-09
|
||||
cedille
|
||||
client-ip-echo
|
||||
darcs
|
||||
|
@ -491,11 +491,11 @@ let
|
|||
compilerNames.ghc981
|
||||
compilerNames.ghc982
|
||||
] released;
|
||||
Cabal_3_10_2_1 = lib.subtractLists [
|
||||
Cabal_3_10_3_0 = lib.subtractLists [
|
||||
compilerNames.ghc981
|
||||
compilerNames.ghc982
|
||||
] released;
|
||||
Cabal-syntax_3_10_1_0 = lib.subtractLists [
|
||||
Cabal-syntax_3_10_3_0 = lib.subtractLists [
|
||||
compilerNames.ghc981
|
||||
compilerNames.ghc982
|
||||
] released;
|
||||
|
|
Loading…
Reference in New Issue