diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-03-04 12:46:38 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-01-25 00:01:51 +0200 |
commit | 6e46dbf8e7c2362aab5823207c27c6d7e3870f11 (patch) | |
tree | 26b579fc722ef5d84c3a3556334febbb25b9fa58 | |
parent | 7c8a060c09799eb2ee70c00aa695ff08e5f07c6f (diff) | |
download | nixpkgs-6e46dbf8e7c2362aab5823207c27c6d7e3870f11.tar nixpkgs-6e46dbf8e7c2362aab5823207c27c6d7e3870f11.tar.gz nixpkgs-6e46dbf8e7c2362aab5823207c27c6d7e3870f11.tar.bz2 nixpkgs-6e46dbf8e7c2362aab5823207c27c6d7e3870f11.tar.lz nixpkgs-6e46dbf8e7c2362aab5823207c27c6d7e3870f11.tar.xz nixpkgs-6e46dbf8e7c2362aab5823207c27c6d7e3870f11.tar.zst nixpkgs-6e46dbf8e7c2362aab5823207c27c6d7e3870f11.zip |
gnu-config: init at 2016-12-31
-rw-r--r-- | pkgs/development/libraries/gnu-config/default.nix | 39 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gnu-config/default.nix b/pkgs/development/libraries/gnu-config/default.nix new file mode 100644 index 00000000000..b46523071c7 --- /dev/null +++ b/pkgs/development/libraries/gnu-config/default.nix @@ -0,0 +1,39 @@ +{ stdenv, fetchurl }: + +let + rev = "6a82322dd05cdc57b4cd9f7effdf1e2fd6f7482b"; + + # Don't use fetchgit as this is needed during Aarch64 bootstrapping + configGuess = fetchurl { + url = "http://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=${rev}"; + sha256 = "1yj9yi94h7z4z6jzickddv64ksz1aq5kj0c7krgzjn8xf8p3avmh"; + }; + configSub = fetchurl { + url = "http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=${rev}"; + sha256 = "1qsqdpla6icbzskkk7v3zxrpzlpqlc94ny9hyy5wh5lm5rwwfvb7"; + }; +in +stdenv.mkDerivation rec { + name = "gnu-config-${version}"; + version = "2016-12-31"; + + buildCommand = '' + mkdir -p $out + cp ${configGuess} $out/config.guess + cp ${configSub} $out/config.sub + ''; + + meta = with stdenv.lib; { + description = "Attempt to guess a canonical system name"; + homepage = http://savannah.gnu.org/projects/config; + license = licenses.gpl3; + # In addition to GPLv3: + # As a special exception to the GNU General Public License, if you + # distribute this file as part of a program that contains a + # configuration script generated by Autoconf, you may include it under + # the same distribution terms that you use for the rest of that + # program. + maintainers = [ maintainers.dezgeg ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1d924df6aea..70e269ff87c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7457,6 +7457,8 @@ with pkgs; gnet = callPackage ../development/libraries/gnet { }; + gnu-config = callPackage ../development/libraries/gnu-config { }; + gnu-efi = callPackage ../development/libraries/gnu-efi { }; gnutls = gnutls34; |