diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-11-24 20:10:38 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-12-03 15:16:30 +0000 |
commit | 5f9876b29e6fd4e8ae9f0105a5386e932bedf3b6 (patch) | |
tree | 86178e84e3333b2f76af61740c5b90cfb961193b /pkgs/os-specific/linux/chromium-os/modem-manager/next.nix | |
parent | 51fe75bdd32fa50b5e1b043957b71faf9260592f (diff) | |
download | nixpkgs-5f9876b29e6fd4e8ae9f0105a5386e932bedf3b6.tar nixpkgs-5f9876b29e6fd4e8ae9f0105a5386e932bedf3b6.tar.gz nixpkgs-5f9876b29e6fd4e8ae9f0105a5386e932bedf3b6.tar.bz2 nixpkgs-5f9876b29e6fd4e8ae9f0105a5386e932bedf3b6.tar.lz nixpkgs-5f9876b29e6fd4e8ae9f0105a5386e932bedf3b6.tar.xz nixpkgs-5f9876b29e6fd4e8ae9f0105a5386e932bedf3b6.tar.zst nixpkgs-5f9876b29e6fd4e8ae9f0105a5386e932bedf3b6.zip |
sommelier: init at 78.12499.0.0-rc1
sommelier has a lot of dependencies on other Chromium OS packages. To manage this mess, I introduced chromiumOSPackages to hold them all, since most of them won't be useful aside from building other Chromium OS packages, and chromiumOSPackages.common-mk, which is a wrapper around stdenv to handle interacting with Chromium OS's idiosyncratic GN-based build system. I adapted crosvm's updateScript to become the updateScript for all of chromiumOSPackages, and pulled crosvm under chromiumOSPackages. This means that all Chromium OS packages use approximately the same versions that are distributed as an upstream release. There are still a couple of Chromium OS packages in Nixpkgs that aren't part of this set. Pulling those in is future work.
Diffstat (limited to 'pkgs/os-specific/linux/chromium-os/modem-manager/next.nix')
-rw-r--r-- | pkgs/os-specific/linux/chromium-os/modem-manager/next.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/chromium-os/modem-manager/next.nix b/pkgs/os-specific/linux/chromium-os/modem-manager/next.nix new file mode 100644 index 00000000000..8ad0e63bf9c --- /dev/null +++ b/pkgs/os-specific/linux/chromium-os/modem-manager/next.nix @@ -0,0 +1,22 @@ +{ modemmanager, lib, fetchFromGitiles, upstreamInfo, autoreconfHook, libxslt }: + +modemmanager.overrideAttrs ( + { pname, nativeBuildInputs ? [], passthru ? {}, meta ? {}, ... }: + { + pname = "${pname}-chromiumos-next-unstable"; + version = "2019-10-17"; + + src = fetchFromGitiles + upstreamInfo.components."chromiumos/third_party/modemmanager-next"; + + nativeBuildInputs = nativeBuildInputs ++ [ autoreconfHook libxslt ]; + + passthru = passthru // { + updateScript = ../update.py; + }; + + meta = with lib; meta // { + maintainers = with maintainers; [ qyliss ]; + }; + } +) |