crane/lib/default.nix

29 lines
961 B
Nix
Raw Normal View History

2021-12-30 03:03:39 +03:00
{ fromTOML
, lib
, myPkgs
2021-12-27 02:32:57 +03:00
, newScope
2021-12-30 03:03:39 +03:00
, toTOML
2021-12-27 02:32:57 +03:00
}:
2021-12-26 22:47:16 +03:00
2021-12-27 02:32:57 +03:00
lib.makeScope newScope (self:
2021-12-27 01:05:23 +03:00
let
2021-12-30 06:26:55 +03:00
callPackage = self.newScope myPkgs;
2021-12-27 01:05:23 +03:00
in
2021-12-30 06:26:55 +03:00
{
inherit fromTOML toTOML;
2021-12-27 01:05:23 +03:00
buildDepsOnly = callPackage ./buildDepsOnly.nix { };
buildPackage = callPackage ./buildPackage.nix { };
cargoBuild = callPackage ./cargoBuild.nix { };
2022-01-04 23:07:04 +03:00
cargoClippy = callPackage ./cargoClippy.nix { };
2021-12-30 03:03:39 +03:00
cleanCargoToml = callPackage ./cleanCargoToml.nix { };
crateNameFromCargoToml = callPackage ./crateNameFromCargoToml.nix { };
2021-12-27 01:05:23 +03:00
downloadCargoPackage = callPackage ./downloadCargoPackage.nix { };
mkCargoDerivation = callPackage ./mkCargoDerivation.nix { };
2021-12-31 00:22:05 +03:00
mkDummySrc = callPackage ./mkDummySrc.nix { };
2021-12-27 01:05:23 +03:00
urlForCargoPackage = callPackage ./urlForCargoPackage.nix { };
vendorCargoDeps = callPackage ./vendorCargoDeps.nix { };
vendorCargoDepsFromArgs = callPackage ./vendorCargoDepsFromArgs.nix { };
2021-12-30 06:26:55 +03:00
writeTOML = callPackage ./writeTOML.nix { };
2021-12-27 01:05:23 +03:00
})