mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
Add nixops
This commit is contained in:
parent
6425ad2847
commit
b0b5c24fa6
37
pkgs/tools/package-management/nixops/default.nix
Normal file
37
pkgs/tools/package-management/nixops/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -9384,6 +9384,8 @@ let
|
|||
};
|
||||
*/
|
||||
|
||||
nixops = callPackage ../tools/package-management/nixops { };
|
||||
|
||||
nut = callPackage ../applications/misc/nut { };
|
||||
|
||||
solfege = callPackage ../misc/solfege {
|
||||
|
|
Loading…
Reference in a new issue