-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
62 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,9 +57,26 @@ | |
PACKAGE_VERSION="${builtins.replaceStrings ["_"] ["."] (builtins.substring 1 (-1) dir)}.${toString versionSuffix}" | ||
${pkgs.gnused}/bin/sed -i "s/^version:\s*\(.*\)/version: $PACKAGE_VERSION/" "${dir}/docker-engine.cabal" | ||
# Fill in license | ||
# https://docs.docker.com/engine/#licensing | ||
${pkgs.gnused}/bin/sed -i "s/^license:\s*\(.*\)/license: Apache-2.0/" "${dir}/docker-engine.cabal" | ||
# Fill in other metadata | ||
${pkgs.gnused}/bin/sed -i "s/^author:\s*\(.*\)/author: Tom McLaughlin <[email protected]>/" "${dir}/docker-engine.cabal" | ||
${pkgs.gnused}/bin/sed -i "s/^maintainer:\s*\(.*\)/maintainer: Tom McLaughlin <[email protected]>/" "${dir}/docker-engine.cabal" | ||
${pkgs.gnused}/bin/sed -i "s/^homepage:\s*\(.*\)/homepage: https:\/\/github.com\/codedownio\/docker-engine/" "${dir}/docker-engine.cabal" | ||
${pkgs.gnused}/bin/sed -i '/copyright:/d' "${dir}/docker-engine.cabal" | ||
# Remove some unnecessary files | ||
rm "${dir}/openapi.yaml" | ||
rm "${dir}/.travis.yml" | ||
rm "${dir}/stack.yaml" | ||
# Delete openapi.yaml from the extra-source-files | ||
${pkgs.gnused}/bin/sed -i '/^\s*openapi\.yaml$/d' "${dir}/docker-engine.cabal" | ||
# Patch up some problems | ||
echo "type Map = A.Object" >> "${dir}/lib/DockerEngine/Model.hs" | ||
''; | ||
|
||
in | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9652,3 +9652,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9663,3 +9663,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9772,3 +9772,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10194,3 +10194,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10382,3 +10382,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10756,3 +10756,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11282,3 +11282,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11315,3 +11315,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,15 @@ description: . | |
Generator version: 7.6.0 | ||
. | ||
category: Web | ||
homepage: https://openapi-generator.tech | ||
author: Author Name Here | ||
maintainer: [email protected] | ||
copyright: YEAR - AUTHOR | ||
license: UnspecifiedLicense | ||
homepage: https://github.com/codedownio/docker-engine | ||
author: Tom McLaughlin <[email protected]> | ||
maintainer: Tom McLaughlin <[email protected]> | ||
license: Apache-2.0 | ||
build-type: Simple | ||
cabal-version: >= 1.10 | ||
|
||
extra-source-files: | ||
README.md | ||
openapi.yaml | ||
|
||
Flag UseKatip | ||
Description: Use the katip package to provide logging (if false, use the default monad-logger package) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11506,3 +11506,4 @@ toTaskState = \case | |
|
||
|
||
|
||
type Map = A.Object |
This file was deleted.
Oops, something went wrong.