diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-06-25 13:21:35 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-06-25 14:12:16 +0200 |
commit | cbf2526bfda604260fcf69973fffddc535afc099 (patch) | |
tree | 76fff079c7db5defc972832884c617a9f742a4fb | |
parent | 0dbb2fdcfe68de0b231e5007a104cd92c7c417c0 (diff) |
Add nixops
-rw-r--r-- | pkgs/tools/package-management/nixops/default.nix | 37 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/tools/package-management/nixops/default.nix b/pkgs/tools/package-management/nixops/default.nix new file mode 100644 index 0000000000000..4e47a50078a9b --- /dev/null +++ b/pkgs/tools/package-management/nixops/default.nix @@ -0,0 +1,37 @@ +{ lib, pythonPackages, fetchurl, libxslt, docbook5_xsl }: + +pythonPackages.buildPythonPackage rec { + name = "nixops-1.0"; + namePrefix = ""; + + src = fetchurl { + url = "http://nixos.org/releases/nixops/${name}/${name}.tar.bz2"; + sha256 = "9ae2dfac8e1fa895aef81323b14a3398f03a1cbd8c86ea10b6fff7312e1fadbb"; + }; + + buildInputs = [ libxslt ]; + + pythonPath = + [ pythonPackages.prettytable + pythonPackages.boto + pythonPackages.sqlite3 + ]; + + doCheck = false; + + postInstall = + '' + make -C doc/manual install nixops.1 docbookxsl=${docbook5_xsl}/xml/xsl/docbook \ + docdir=$out/share/doc/nixops mandir=$out/share/man + + mkdir -p $out/share/nix/nixops + cp -av nix/* $out/share/nix/nixops + ''; + + meta = { + homepage = https://github.com/NixOS/nixops; + description = "NixOS cloud provisioning and deployment tool"; + maintainers = [ lib.maintainers.eelco lib.maintainers.rob ]; + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 89fb02eba0e3f..782e83d194885 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9428,6 +9428,8 @@ let }; */ + nixops = callPackage ../tools/package-management/nixops { }; + nut = callPackage ../applications/misc/nut { }; solfege = callPackage ../misc/solfege { |