Merge remote-tracking branch 'upstream/master' into staging
This commit is contained in:
commit
34b7ea6d45
@ -79,19 +79,24 @@ an example for a minimal `hello` crate:
|
|||||||
Now, the file produced by the call to `carnix`, called `hello.nix`, looks like:
|
Now, the file produced by the call to `carnix`, called `hello.nix`, looks like:
|
||||||
|
|
||||||
```
|
```
|
||||||
with import <nixpkgs> {};
|
# Generated by carnix 0.6.5: carnix -o hello.nix --src ./. Cargo.lock --standalone
|
||||||
|
{ lib, buildPlatform, buildRustCrate, fetchgit }:
|
||||||
let kernel = buildPlatform.parsed.kernel.name;
|
let kernel = buildPlatform.parsed.kernel.name;
|
||||||
# ... (content skipped)
|
# ... (content skipped)
|
||||||
hello_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
|
||||||
crateName = "hello";
|
|
||||||
version = "0.1.0";
|
|
||||||
authors = [ "Authorname <user@example.com>" ];
|
|
||||||
src = ./.;
|
|
||||||
inherit dependencies buildDependencies features;
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
hello_0_1_0 = hello_0_1_0_ rec {};
|
hello = f: hello_0_1_0 { features = hello_0_1_0_features { hello_0_1_0 = f; }; };
|
||||||
|
hello_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||||
|
crateName = "hello";
|
||||||
|
version = "0.1.0";
|
||||||
|
authors = [ "pe@pijul.org <pe@pijul.org>" ];
|
||||||
|
src = ./.;
|
||||||
|
inherit dependencies buildDependencies features;
|
||||||
|
};
|
||||||
|
hello_0_1_0 = { features?(hello_0_1_0_features {}) }: hello_0_1_0_ {};
|
||||||
|
hello_0_1_0_features = f: updateFeatures f (rec {
|
||||||
|
hello_0_1_0.default = (f.hello_0_1_0.default or true);
|
||||||
|
}) [ ];
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -103,33 +108,44 @@ dependencies, for instance by adding a single line `libc="*"` to our
|
|||||||
following nix file:
|
following nix file:
|
||||||
|
|
||||||
```
|
```
|
||||||
with import <nixpkgs> {};
|
# Generated by carnix 0.6.5: carnix -o hello.nix --src ./. Cargo.lock --standalone
|
||||||
|
{ lib, buildPlatform, buildRustCrate, fetchgit }:
|
||||||
let kernel = buildPlatform.parsed.kernel.name;
|
let kernel = buildPlatform.parsed.kernel.name;
|
||||||
# ... (content skipped)
|
# ... (content skipped)
|
||||||
hello_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
|
||||||
crateName = "hello";
|
|
||||||
version = "0.1.0";
|
|
||||||
authors = [ "Jörg Thalheim <joerg@thalheim.io>" ];
|
|
||||||
src = ./.;
|
|
||||||
inherit dependencies buildDependencies features;
|
|
||||||
};
|
|
||||||
libc_0_2_34_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
|
||||||
crateName = "libc";
|
|
||||||
version = "0.2.34";
|
|
||||||
authors = [ "The Rust Project Developers" ];
|
|
||||||
sha256 = "11jmqdxmv0ka10ay0l8nzx0nl7s2lc3dbrnh1mgbr2grzwdyxi2s";
|
|
||||||
inherit dependencies buildDependencies features;
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
hello_0_1_0 = hello_0_1_0_ rec {
|
hello = f: hello_0_1_0 { features = hello_0_1_0_features { hello_0_1_0 = f; }; };
|
||||||
dependencies = [ libc_0_2_34 ];
|
hello_0_1_0_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||||
|
crateName = "hello";
|
||||||
|
version = "0.1.0";
|
||||||
|
authors = [ "pe@pijul.org <pe@pijul.org>" ];
|
||||||
|
src = ./.;
|
||||||
|
inherit dependencies buildDependencies features;
|
||||||
};
|
};
|
||||||
libc_0_2_34_features."default".from_hello_0_1_0__default = true;
|
libc_0_2_36_ = { dependencies?[], buildDependencies?[], features?[] }: buildRustCrate {
|
||||||
libc_0_2_34 = libc_0_2_34_ rec {
|
crateName = "libc";
|
||||||
features = mkFeatures libc_0_2_34_features;
|
version = "0.2.36";
|
||||||
|
authors = [ "The Rust Project Developers" ];
|
||||||
|
sha256 = "01633h4yfqm0s302fm0dlba469bx8y6cs4nqc8bqrmjqxfxn515l";
|
||||||
|
inherit dependencies buildDependencies features;
|
||||||
};
|
};
|
||||||
libc_0_2_34_features."use_std".self_default = hasDefault libc_0_2_34_features;
|
hello_0_1_0 = { features?(hello_0_1_0_features {}) }: hello_0_1_0_ {
|
||||||
|
dependencies = mapFeatures features ([ libc_0_2_36 ]);
|
||||||
|
};
|
||||||
|
hello_0_1_0_features = f: updateFeatures f (rec {
|
||||||
|
hello_0_1_0.default = (f.hello_0_1_0.default or true);
|
||||||
|
libc_0_2_36.default = true;
|
||||||
|
}) [ libc_0_2_36_features ];
|
||||||
|
libc_0_2_36 = { features?(libc_0_2_36_features {}) }: libc_0_2_36_ {
|
||||||
|
features = mkFeatures (features.libc_0_2_36 or {});
|
||||||
|
};
|
||||||
|
libc_0_2_36_features = f: updateFeatures f (rec {
|
||||||
|
libc_0_2_36.default = (f.libc_0_2_36.default or true);
|
||||||
|
libc_0_2_36.use_std =
|
||||||
|
(f.libc_0_2_36.use_std or false) ||
|
||||||
|
(f.libc_0_2_36.default or false) ||
|
||||||
|
(libc_0_2_36.default or false);
|
||||||
|
}) [];
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -146,7 +162,7 @@ or build inputs by overriding the hello crate in a seperate file.
|
|||||||
|
|
||||||
```
|
```
|
||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
(import ./hello.nix).hello_0_1_0.override {
|
((import ./hello.nix).hello {}).override {
|
||||||
crateOverrides = defaultCrateOverrides // {
|
crateOverrides = defaultCrateOverrides // {
|
||||||
hello = attrs: { buildInputs = [ openssl ]; };
|
hello = attrs: { buildInputs = [ openssl ]; };
|
||||||
};
|
};
|
||||||
@ -166,7 +182,7 @@ patches the derivation:
|
|||||||
|
|
||||||
```
|
```
|
||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
(import ./hello.nix).hello_0_1_0.override {
|
((import ./hello.nix).hello {}).override {
|
||||||
crateOverrides = defaultCrateOverrides // {
|
crateOverrides = defaultCrateOverrides // {
|
||||||
hello = attrs: lib.optionalAttrs (lib.versionAtLeast attrs.version "1.0") {
|
hello = attrs: lib.optionalAttrs (lib.versionAtLeast attrs.version "1.0") {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -187,7 +203,7 @@ crate, we could do:
|
|||||||
|
|
||||||
```
|
```
|
||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
(import hello.nix).hello_0_1_0.override {
|
((import hello.nix).hello {}).override {
|
||||||
crateOverrides = defaultCrateOverrides // {
|
crateOverrides = defaultCrateOverrides // {
|
||||||
libc = attrs: { buildInputs = []; };
|
libc = attrs: { buildInputs = []; };
|
||||||
};
|
};
|
||||||
@ -199,23 +215,35 @@ Three more parameters can be overridden:
|
|||||||
- The version of rustc used to compile the crate:
|
- The version of rustc used to compile the crate:
|
||||||
|
|
||||||
```
|
```
|
||||||
hello_0_1_0.override { rust = pkgs.rust; };
|
(hello {}).override { rust = pkgs.rust; };
|
||||||
```
|
```
|
||||||
|
|
||||||
- Whether to build in release mode or debug mode (release mode by
|
- Whether to build in release mode or debug mode (release mode by
|
||||||
default):
|
default):
|
||||||
|
|
||||||
```
|
```
|
||||||
hello_0_1_0.override { release = false; };
|
(hello {}).override { release = false; };
|
||||||
```
|
```
|
||||||
|
|
||||||
- Whether to print the commands sent to rustc when building
|
- Whether to print the commands sent to rustc when building
|
||||||
(equivalent to `--verbose` in cargo:
|
(equivalent to `--verbose` in cargo:
|
||||||
|
|
||||||
```
|
```
|
||||||
hello_0_1_0.override { verbose = false; };
|
(hello {}).override { verbose = false; };
|
||||||
```
|
```
|
||||||
|
|
||||||
|
One can also supply features switches. For example, if we want to
|
||||||
|
compile `diesel_cli` only with the `postgres` feature, and no default
|
||||||
|
features, we would write:
|
||||||
|
|
||||||
|
```
|
||||||
|
(callPackage ./diesel.nix {}).diesel {
|
||||||
|
default = false;
|
||||||
|
postgres = true;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Using the Rust nightlies overlay
|
## Using the Rust nightlies overlay
|
||||||
|
|
||||||
|
@ -461,6 +461,7 @@
|
|||||||
mounium = "Katona László <muoniurn@gmail.com>";
|
mounium = "Katona László <muoniurn@gmail.com>";
|
||||||
MP2E = "Cray Elliott <MP2E@archlinux.us>";
|
MP2E = "Cray Elliott <MP2E@archlinux.us>";
|
||||||
mpcsh = "Mark Cohen <m@mpc.sh>";
|
mpcsh = "Mark Cohen <m@mpc.sh>";
|
||||||
|
mpickering = "Matthew Pickering <matthewtpickering@gmail.com>";
|
||||||
mpscholten = "Marc Scholten <marc@mpscholten.de>";
|
mpscholten = "Marc Scholten <marc@mpscholten.de>";
|
||||||
mpsyco = "Francis St-Amour <fr.st-amour@gmail.com>";
|
mpsyco = "Francis St-Amour <fr.st-amour@gmail.com>";
|
||||||
mrVanDalo = "Ingolf Wanger <contact@ingolf-wagner.de>";
|
mrVanDalo = "Ingolf Wanger <contact@ingolf-wagner.de>";
|
||||||
|
@ -29,11 +29,11 @@
|
|||||||
# handle that.
|
# handle that.
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qmmp-1.1.10";
|
name = "qmmp-1.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2";
|
url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2";
|
||||||
sha256 = "16hb3s48filq0q18m7x9vmhpirk4fh0aqj8kwbapv8mkcnzq2mqy";
|
sha256 = "17kci7srgbkk62dgxlmg3lv2y7z04jsinpgx6jmxjpnpblpcj840";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
34
pkgs/applications/misc/osm2xmap/default.nix
Normal file
34
pkgs/applications/misc/osm2xmap/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, libroxml, proj, libyamlcpp, boost } :
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "osm2xmap-${version}";
|
||||||
|
version = "2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
sha256 = "1d3f18wzk240yp0q8i2vskhcfj5ar61s4hw83vgps0wr2aglph3w";
|
||||||
|
repo = "osm2xmap";
|
||||||
|
owner = "sembruk";
|
||||||
|
rev = "v${version}";
|
||||||
|
};
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"GIT_VERSION=$(version)"
|
||||||
|
"GIT_TIMESTAMP="
|
||||||
|
"SHAREDIR=$(out)/share/"
|
||||||
|
"INSTALL_BINDIR=$(out)/bin"
|
||||||
|
"INSTALL_MANDIR=$(out)/share/man/man1"
|
||||||
|
"INSTALL_SHAREDIR=$(out)/share/"
|
||||||
|
];
|
||||||
|
|
||||||
|
installFlags = [ "DESTDIR=$(out)" ];
|
||||||
|
|
||||||
|
buildInputs = [ libroxml proj libyamlcpp boost ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/sembruk/osm2xmap";
|
||||||
|
description = "Converter from OpenStreetMap data format to OpenOrienteering Mapper format.";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.mpickering ];
|
||||||
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
|
};
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -65,6 +65,6 @@ let
|
|||||||
runScript = target;
|
runScript = target;
|
||||||
};
|
};
|
||||||
in buildFHSUserEnv {
|
in buildFHSUserEnv {
|
||||||
name = attrs.toolName;
|
name = "${attrs.toolName}-${attrs.version}";
|
||||||
runScript = "${pkg.outPath}/bin/${attrs.toolName}";
|
runScript = "${pkg.outPath}/bin/${attrs.toolName}";
|
||||||
} // { inherit (pkg) meta name; }
|
} // { inherit (pkg) meta name; }
|
||||||
|
@ -1,17 +1,20 @@
|
|||||||
{ stdenv, fetchurl, cmake, qtbase }:
|
{ stdenv, fetchgit, cmake, qtbase }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qgit-2.6";
|
name = "qgit-2.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchgit {
|
||||||
url = "http://libre.tibirna.org/attachments/download/12/${name}.tar.gz";
|
url = "http://repo.or.cz/qgit4/redivivus.git";
|
||||||
sha256 = "1brrhac6s6jrw3djhgailg5d5s0vgrfvr0sczqgzpp3i6pxf8qzl";
|
rev = name;
|
||||||
|
sha256 = "0c0zxykpgkxb8gpgzz5i6b8nrzg7cdxikvpg678x7gsnxhlwjv3a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
homepage = http://libre.tibirna.org/projects/qgit/wiki/QGit;
|
homepage = http://libre.tibirna.org/projects/qgit/wiki/QGit;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,7 @@
|
|||||||
{ callPackage, fetchurl, stdenv, path, cacert, git, rust }:
|
{ callPackage, fetchurl, stdenv, path, cacert, git, rust, cargo-vendor }:
|
||||||
let
|
let
|
||||||
cargoVendor = callPackage ./cargo-vendor {};
|
|
||||||
|
|
||||||
fetchcargo = import ./fetchcargo.nix {
|
fetchcargo = import ./fetchcargo.nix {
|
||||||
inherit stdenv cacert git rust cargoVendor;
|
inherit stdenv cacert git rust cargo-vendor;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{ name, cargoSha256
|
{ name, cargoSha256
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, cacert, git, rust, cargoVendor }:
|
{ stdenv, cacert, git, rust, cargo-vendor }:
|
||||||
{ name ? "cargo-deps", src, srcs, sourceRoot, sha256, cargoUpdateHook ? "" }:
|
{ name ? "cargo-deps", src, srcs, sourceRoot, sha256, cargoUpdateHook ? "" }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${name}-vendor";
|
name = "${name}-vendor";
|
||||||
nativeBuildInputs = [ cacert cargoVendor git rust.cargo ];
|
nativeBuildInputs = [ cacert cargo-vendor git rust.cargo ];
|
||||||
inherit src srcs sourceRoot;
|
inherit src srcs sourceRoot;
|
||||||
|
|
||||||
phases = "unpackPhase installPhase";
|
phases = "unpackPhase installPhase";
|
||||||
|
@ -606,7 +606,7 @@ self: super: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Need newer versions of their dependencies than the ones we have in LTS-10.x.
|
# Need newer versions of their dependencies than the ones we have in LTS-10.x.
|
||||||
cabal2nix = super.cabal2nix.override { hpack = self.hpack_0_23_0; };
|
cabal2nix = super.cabal2nix.override { hpack = self.hpack_0_24_0; };
|
||||||
hlint = super.hlint.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_20_1; });
|
hlint = super.hlint.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_20_1; });
|
||||||
|
|
||||||
# https://github.com/bos/configurator/issues/22
|
# https://github.com/bos/configurator/issues/22
|
||||||
|
@ -2534,7 +2534,6 @@ default-package-overrides:
|
|||||||
- websockets-rpc ==0.6.0
|
- websockets-rpc ==0.6.0
|
||||||
- websockets-simple ==0.0.6.3
|
- websockets-simple ==0.0.6.3
|
||||||
- websockets-snap ==0.10.2.4
|
- websockets-snap ==0.10.2.4
|
||||||
- weeder ==0.1.13
|
|
||||||
- weigh ==0.0.7
|
- weigh ==0.0.7
|
||||||
- wide-word ==0.1.0.5
|
- wide-word ==0.1.0.5
|
||||||
- wikicfp-scraper ==0.1.0.9
|
- wikicfp-scraper ==0.1.0.9
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,7 @@ symlinkJoin {
|
|||||||
src = idris.src;
|
src = idris.src;
|
||||||
paths = [ idris ];
|
paths = [ idris ];
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
meta.platforms = idris.meta.platforms;
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/idris \
|
wrapProgram $out/bin/idris \
|
||||||
--suffix PATH : ${ stdenv.lib.makeBinPath path } \
|
--suffix PATH : ${ stdenv.lib.makeBinPath path } \
|
||||||
@ -14,4 +15,3 @@ symlinkJoin {
|
|||||||
substituteAll ${./setup-hook.sh} $out/nix-support/setup-hook
|
substituteAll ${./setup-hook.sh} $out/nix-support/setup-hook
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
16
pkgs/development/libraries/libroxml/default.nix
Normal file
16
pkgs/development/libraries/libroxml/default.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "libroxml-2.3.0";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://download.libroxml.net/pool/v2.x/libroxml-2.3.0.tar.gz";
|
||||||
|
sha256 = "0y0vc9n4rfbimjp28nx4kdfzz08j5xymh5xjy84l9fhfac5z5a0x";
|
||||||
|
};
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "http://www.libroxml.net/";
|
||||||
|
description = "This library is minimum, easy-to-use, C implementation for xml file parsing.";
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ mpickering ];
|
||||||
|
};
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "doxygen-1.8.11";
|
name = "doxygen-1.8.14";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.stack.nl/pub/users/dimitri/${name}.src.tar.gz";
|
url = "ftp://ftp.stack.nl/pub/users/dimitri/${name}.src.tar.gz";
|
||||||
sha256 = "0ja02pm3fpfhc5dkry00kq8mn141cqvdqqpmms373ncbwi38pl35";
|
sha256 = "d1757e02755ef6f56fd45f1f4398598b920381948d6fcfa58f5ca6aa56f59d4d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
name = "astyle";
|
name = "astyle";
|
||||||
version = "2.05.1";
|
version = "3.1";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${name}-${version}";
|
name = "${name}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/${name}/${name}_${version}_linux.tar.gz";
|
url = "mirror://sourceforge/${name}/${name}_${version}_linux.tar.gz";
|
||||||
sha256 = "1b0f4wm1qmgcswmixv9mwbp86hbdqxk754hml8cjv5vajvqwdpzv";
|
sha256 = "1ms54wcs7hg1bsywqwf2lhdfizgbk7qxc9ghasxk8i99jvwlrk6b";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = if stdenv.cc.isClang
|
sourceRoot = if stdenv.cc.isClang
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
name = "wp-cli-${version}";
|
name = "wp-cli-${version}";
|
||||||
version = "1.4.1";
|
version = "1.5.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/wp-cli/wp-cli/releases/download/v${version}/${name}.phar";
|
url = "https://github.com/wp-cli/wp-cli/releases/download/v${version}/${name}.phar";
|
||||||
sha256 = "0fyfwpsbm9s3khxq8876ah85vjwfd5r4a59aix3zjmhq2v7j8n9j";
|
sha256 = "17dgbcalvz5gw6xqgcywh6jrybj0qlglm16cgbshjsp6axwxa5gn";
|
||||||
};
|
};
|
||||||
|
|
||||||
completion = fetchurl {
|
completion = fetchurl {
|
||||||
@ -26,7 +26,7 @@ let
|
|||||||
|
|
||||||
ini = writeText "wp-cli.ini" ''
|
ini = writeText "wp-cli.ini" ''
|
||||||
[PHP]
|
[PHP]
|
||||||
memory_limit = -1 ; composer uses a lot of memory
|
memory_limit = -1 ; no limit as composer uses a lot of memory
|
||||||
|
|
||||||
[Phar]
|
[Phar]
|
||||||
phar.readonly = Off
|
phar.readonly = Off
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.14.16";
|
version = "4.14.17";
|
||||||
|
|
||||||
# branchVersion needs to be x.y
|
# branchVersion needs to be x.y
|
||||||
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
|
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "095c2cjmjfsgnmml4f3lzc0pbhjy8nv8w07rywgpp5s5494dn2q7";
|
sha256 = "0jqa86bnnlzv0r0bvzvmbj1c89a5m64zrjfvfrjlwg3vy63r9ii7";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.15";
|
version = "4.15.1";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modDirVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
|
modDirVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
|
||||||
@ -13,6 +13,6 @@ import ./generic.nix (args // rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0sd7l9n9h7vf9c6gd6ciji28hawda60yj0llh17my06m0s4lf9js";
|
sha256 = "1pxgs5wqmidwa5lz6q1m9gz6jyvhvlgy8r5bs48cm08b0vcwsvlq";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
|
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.4.114";
|
version = "4.4.115";
|
||||||
extraMeta.branch = "4.4";
|
extraMeta.branch = "4.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "1nag129dv3krn9b3f958fv2ns56x1nlgf8fy3mx74pkzqm6hnh4m";
|
sha256 = "1pxm4r09402h4k8zgl0w1wm4vfvcaa3y7l36h50jr5wgi6l8rx2q";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
|
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.9.79";
|
version = "4.9.80";
|
||||||
extraMeta.branch = "4.9";
|
extraMeta.branch = "4.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "0kf2zh7gf8jsm11vmp2hx2bji54ndsaj74ma405rj0qyxdchd45i";
|
sha256 = "0ys74q9f93c42flqracaqnkh0qwcbnimhppd80rz5hxgq3686bly";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or {}))
|
} // (args.argsOverride or {}))
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.15";
|
version = "4.15.1";
|
||||||
revision = "a";
|
revision = "a";
|
||||||
sha256 = "1jia6isz4mi7a76rg7nd5iqll6py5kjz0myp4z0dx17xm9axcgqm";
|
sha256 = "1k9ng0110vzl29rzbglk3vmnpfqk04rd2mja5aqql81z5pb1x528";
|
||||||
|
|
||||||
# modVersion needs to be x.y.z, will automatically add .0 if needed
|
# modVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
modVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
|
modVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nvme-cli-${version}";
|
name = "nvme-cli-${version}";
|
||||||
version = "1.4";
|
version = "1.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linux-nvme";
|
owner = "linux-nvme";
|
||||||
repo = "nvme-cli";
|
repo = "nvme-cli";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00jrr1mya9wkapiapph3nch3kpqas6vlc8kl8dbrjjfb5hg35gqf";
|
sha256 = "1nl5hl5am8djwmrw1xxnd9ahp7kyzyj0yh1nxgmx43pn3d61n0vz";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
||||||
|
22
pkgs/tools/X11/grobi/default.nix
Normal file
22
pkgs/tools/X11/grobi/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
version = "0.3.0";
|
||||||
|
name = "grobi-${version}";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/fd0/grobi";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
rev = "78a0639ffad765933a5233a1c94d2626e24277b8";
|
||||||
|
owner = "fd0";
|
||||||
|
repo = "grobi";
|
||||||
|
sha256 = "16q7vnhb1p6ds561832sfdszvlafww67bjn3lc0d18v7lyak2l3i";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/fd0/grobi;
|
||||||
|
description = "Automatically configure monitors/outputs for Xorg via RANDR";
|
||||||
|
license = with licenses; [ bsd2 ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1,27 +1,20 @@
|
|||||||
{ stdenv, fetchurl, unzip, jre }:
|
{ stdenv, fetchurl, jre }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ditaa-0.9";
|
name = "ditaa-0.11.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "${name}.zip";
|
url = https://github.com/stathissideris/ditaa/releases/download/v0.11.0/ditaa-0.11.0-standalone.jar;
|
||||||
url = "mirror://sourceforge/project/ditaa/ditaa/0.9/ditaa0_9.zip";
|
sha256 = "1acnl7khz8aasg230nbsx9dyf8716scgb5l3679cb2bdzxisl64l";
|
||||||
sha256 = "12g6k3hacvyw3s9pijli7vfnkspyp37qkr29qgbmq1hbp0ryk2fn";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
|
||||||
|
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
unzip "$src"
|
|
||||||
|
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
mkdir -p "$out/lib"
|
mkdir -p "$out/lib"
|
||||||
mkdir -p "$out/share/ditaa"
|
|
||||||
|
|
||||||
cp dita*.jar "$out/lib/ditaa.jar"
|
cp ${src} "$out/lib/ditaa.jar"
|
||||||
cp COPYING HISTORY "$out/share/ditaa"
|
|
||||||
|
|
||||||
cat > "$out/bin/ditaa" << EOF
|
cat > "$out/bin/ditaa" << EOF
|
||||||
#!${stdenv.shell}
|
#!${stdenv.shell}
|
||||||
@ -33,8 +26,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Convert ascii art diagrams into proper bitmap graphics";
|
description = "Convert ascii art diagrams into proper bitmap graphics";
|
||||||
homepage = http://ditaa.sourceforge.net/;
|
homepage = https://github.com/stathissideris/ditaa;
|
||||||
license = licenses.gpl2;
|
license = licenses.lgpl3;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = [ maintainers.bjornfor ];
|
||||||
};
|
};
|
||||||
|
@ -1191,6 +1191,8 @@ with pkgs;
|
|||||||
|
|
||||||
gringo = callPackage ../tools/misc/gringo { scons = scons_2_5_1; };
|
gringo = callPackage ../tools/misc/gringo { scons = scons_2_5_1; };
|
||||||
|
|
||||||
|
grobi = callPackage ../tools/X11/grobi { };
|
||||||
|
|
||||||
gti = callPackage ../tools/misc/gti { };
|
gti = callPackage ../tools/misc/gti { };
|
||||||
|
|
||||||
heatseeker = callPackage ../tools/misc/heatseeker { };
|
heatseeker = callPackage ../tools/misc/heatseeker { };
|
||||||
@ -6488,11 +6490,9 @@ with pkgs;
|
|||||||
|
|
||||||
buildRustCrate = callPackage ../build-support/rust/build-rust-crate.nix { };
|
buildRustCrate = callPackage ../build-support/rust/build-rust-crate.nix { };
|
||||||
|
|
||||||
carnix =
|
cargo-vendor = callPackage ../build-support/rust/cargo-vendor {};
|
||||||
let carnix = callPackage ../build-support/rust/carnix.nix { };
|
|
||||||
carnixFeatures = carnix.carnix_0_6_0_features {};
|
carnix = (callPackage ../build-support/rust/carnix.nix { }).carnix { };
|
||||||
in
|
|
||||||
carnix.carnix_0_6_0 carnixFeatures;
|
|
||||||
|
|
||||||
defaultCrateOverrides = callPackage ../build-support/rust/default-crate-overrides.nix { };
|
defaultCrateOverrides = callPackage ../build-support/rust/default-crate-overrides.nix { };
|
||||||
|
|
||||||
@ -9885,6 +9885,8 @@ with pkgs;
|
|||||||
|
|
||||||
libqalculate = callPackage ../development/libraries/libqalculate { };
|
libqalculate = callPackage ../development/libraries/libqalculate { };
|
||||||
|
|
||||||
|
libroxml = callPackage ../development/libraries/libroxml { };
|
||||||
|
|
||||||
librsvg = callPackage ../development/libraries/librsvg { };
|
librsvg = callPackage ../development/libraries/librsvg { };
|
||||||
|
|
||||||
librsync = callPackage ../development/libraries/librsync { };
|
librsync = callPackage ../development/libraries/librsync { };
|
||||||
@ -10104,6 +10106,13 @@ with pkgs;
|
|||||||
|
|
||||||
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { };
|
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { };
|
||||||
|
|
||||||
|
libyamlcpp_0_3 = pkgs.libyamlcpp.overrideAttrs (oldAttrs: rec {
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://github.com/jbeder/yaml-cpp/archive/release-0.3.0.tar.gz";
|
||||||
|
sha256 = "12aszqw6svwlnb6nzhsbqhz3c7vnd5ahd0k6xlj05w8lm83hx3db";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
# interception-tools needs this. This should be removed when there is a new
|
# interception-tools needs this. This should be removed when there is a new
|
||||||
# release of libyamlcpp, i.e. when the version of libyamlcpp is newer than
|
# release of libyamlcpp, i.e. when the version of libyamlcpp is newer than
|
||||||
# 0.5.3.
|
# 0.5.3.
|
||||||
@ -16528,6 +16537,10 @@ with pkgs;
|
|||||||
inherit (gnome3) yelp_tools;
|
inherit (gnome3) yelp_tools;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
osm2xmap = callPackage ../applications/misc/osm2xmap {
|
||||||
|
libyamlcpp = libyamlcpp_0_3;
|
||||||
|
};
|
||||||
|
|
||||||
osmctools = callPackage ../applications/misc/osmctools { };
|
osmctools = callPackage ../applications/misc/osmctools { };
|
||||||
|
|
||||||
vivaldi = callPackage ../applications/networking/browsers/vivaldi {};
|
vivaldi = callPackage ../applications/networking/browsers/vivaldi {};
|
||||||
@ -17466,7 +17479,7 @@ with pkgs;
|
|||||||
testssl = callPackage ../applications/networking/testssl { };
|
testssl = callPackage ../applications/networking/testssl { };
|
||||||
|
|
||||||
umurmur = callPackage ../applications/networking/umurmur { };
|
umurmur = callPackage ../applications/networking/umurmur { };
|
||||||
|
|
||||||
udocker = pythonPackages.callPackage ../tools/virtualization/udocker { };
|
udocker = pythonPackages.callPackage ../tools/virtualization/udocker { };
|
||||||
|
|
||||||
unigine-valley = callPackage ../applications/graphics/unigine-valley { };
|
unigine-valley = callPackage ../applications/graphics/unigine-valley { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user