parent
77786dab73
commit
7148ebef25
@ -1,2 +0,0 @@ |
||||
source 'https://rubygems.org' |
||||
gem 'nokogiri', '~> 1.11.7' |
@ -1,38 +0,0 @@ |
||||
PATH |
||||
remote: . |
||||
specs: |
||||
docbookrx (1.0.0.dev) |
||||
nokogiri (~> 1.11.7) |
||||
|
||||
GEM |
||||
remote: https://rubygems.org/ |
||||
specs: |
||||
diff-lcs (1.4.4) |
||||
nokogiri (1.11.7-x86_64-linux) |
||||
racc (~> 1.4) |
||||
racc (1.6.0) |
||||
rake (13.0.6) |
||||
rspec (3.9.0) |
||||
rspec-core (~> 3.9.0) |
||||
rspec-expectations (~> 3.9.0) |
||||
rspec-mocks (~> 3.9.0) |
||||
rspec-core (3.9.3) |
||||
rspec-support (~> 3.9.3) |
||||
rspec-expectations (3.9.4) |
||||
diff-lcs (>= 1.2.0, < 2.0) |
||||
rspec-support (~> 3.9.0) |
||||
rspec-mocks (3.9.1) |
||||
diff-lcs (>= 1.2.0, < 2.0) |
||||
rspec-support (~> 3.9.0) |
||||
rspec-support (3.9.4) |
||||
|
||||
PLATFORMS |
||||
ruby |
||||
|
||||
DEPENDENCIES |
||||
docbookrx! |
||||
rake (~> 13.0.0) |
||||
rspec (~> 3.9.0) |
||||
|
||||
BUNDLED WITH |
||||
2.2.24 |
@ -1,53 +0,0 @@ |
||||
{ lib |
||||
, fetchFromGitHub |
||||
, stdenv |
||||
, ruby |
||||
, bundlerEnv |
||||
}: |
||||
|
||||
let |
||||
env = bundlerEnv { |
||||
name = "docbookrx-env"; |
||||
gemdir = ./.; |
||||
|
||||
inherit ruby; |
||||
|
||||
gemfile = ./Gemfile; |
||||
lockfile = ./Gemfile.lock; |
||||
gemset = ./gemset.nix; |
||||
}; |
||||
|
||||
in stdenv.mkDerivation { |
||||
|
||||
pname = "docbookrx"; |
||||
version = "unstable-2018-05-18"; |
||||
|
||||
buildInputs = [ env.wrappedRuby ]; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "asciidoctor"; |
||||
repo = "docbookrx"; |
||||
rev = "83d1d1235e3bb44506123eda337780a912581cd0"; |
||||
sha256 = "sha256-OdPRh7ZIhgM7hs5qPiuxLEUuMEtaXcgZ83M6i6CV6AY="; |
||||
}; |
||||
|
||||
# TODO: I don't know ruby packaging but this does the trick for now |
||||
installPhase = '' |
||||
runHook preInstall |
||||
|
||||
mkdir -p $out/bin |
||||
cp -a bin/docbookrx $out/bin |
||||
cp -a lib $out |
||||
|
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "(An early version of) a DocBook to AsciiDoc converter written in Ruby"; |
||||
homepage = "https://asciidoctor.org/"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
|
||||
} |
@ -1,107 +0,0 @@ |
||||
{ |
||||
diff-lcs = { |
||||
groups = ["default" "development"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "0m925b8xc6kbpnif9dldna24q1szg4mk0fvszrki837pfn46afmz"; |
||||
type = "gem"; |
||||
}; |
||||
version = "1.4.4"; |
||||
}; |
||||
docbookrx = { |
||||
dependencies = ["nokogiri"]; |
||||
groups = ["default"]; |
||||
platforms = []; |
||||
source = { |
||||
path = ./.; |
||||
type = "path"; |
||||
}; |
||||
version = "1.0.0.dev"; |
||||
}; |
||||
nokogiri = { |
||||
dependencies = ["racc"]; |
||||
groups = ["default"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "4976a9c9e796527d51dc6c311b9bd93a0233f6a7962a0f569aa5c782461836ef"; |
||||
type = "gem"; |
||||
}; |
||||
version = "1.11.7"; |
||||
}; |
||||
racc = { |
||||
groups = ["default"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "0la56m0z26j3mfn1a9lf2l03qx1xifanndf9p3vx1azf6sqy7v9d"; |
||||
type = "gem"; |
||||
}; |
||||
version = "1.6.0"; |
||||
}; |
||||
rake = { |
||||
groups = ["development"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "15whn7p9nrkxangbs9hh75q585yfn66lv0v2mhj6q6dl6x8bzr2w"; |
||||
type = "gem"; |
||||
}; |
||||
version = "13.0.6"; |
||||
}; |
||||
rspec = { |
||||
dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"]; |
||||
groups = ["development"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "1hzsig4pi9ybr0xl5540m1swiyxa74c8h09225y5sdh2rjkkg84h"; |
||||
type = "gem"; |
||||
}; |
||||
version = "3.9.0"; |
||||
}; |
||||
rspec-core = { |
||||
dependencies = ["rspec-support"]; |
||||
groups = ["default" "development"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "0b8891149l4rdlaz58k1dprc09rhpvq98bblk4qpd3dvcvqklkvh"; |
||||
type = "gem"; |
||||
}; |
||||
version = "3.9.3"; |
||||
}; |
||||
rspec-expectations = { |
||||
dependencies = ["diff-lcs" "rspec-support"]; |
||||
groups = ["default" "development"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "0gjqa3h4r8jna8dh22al4f6ks4x6l4knshx2b8jygkd1gk68n92q"; |
||||
type = "gem"; |
||||
}; |
||||
version = "3.9.4"; |
||||
}; |
||||
rspec-mocks = { |
||||
dependencies = ["diff-lcs" "rspec-support"]; |
||||
groups = ["default" "development"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "19vmdqym1v2g1zbdnq37zwmyj87y9yc9ijwc8js55igvbb9hx0mr"; |
||||
type = "gem"; |
||||
}; |
||||
version = "3.9.1"; |
||||
}; |
||||
rspec-support = { |
||||
groups = ["default" "development"]; |
||||
platforms = []; |
||||
source = { |
||||
remotes = ["https://rubygems.org"]; |
||||
sha256 = "0ig6wk1ln6wy0d6fjlbfwxibps1nidc6111fcnm0jfa1z5nkqczl"; |
||||
type = "gem"; |
||||
}; |
||||
version = "3.9.4"; |
||||
}; |
||||
} |
Loading…
Reference in new issue